* {
    box-sizing: border-box;
}


:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #2c3e50;
    --header-bg: #23272b;
    --header-bg2: #2c3e50;
    --success: #218838;
    --danger: #dc3545;
    --info: #17a2b8;
    --border-radius: 12px;
    --font-main: 'Noto Sans Hebrew', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --light-bg: #f4f6f8;
    --table-header: linear-gradient(90deg, var(--primary), var(--accent));
    --shadow: 0 8px 24px rgba(44,62,80,0.12);
}


body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background: var(--light-bg);
    min-height: 100vh;
}


.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
}


.header {
    color: var(--accent);
    padding: 32px 0 24px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 2px solid var(--accent);
}


.logo {
    height: 85px;
    margin-bottom: 10px;
    filter: grayscale(0.2) contrast(1.1);
}


.header h1 {
    margin: 0;
    font-size: 2.1em;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent);
    text-shadow: 0 2px 8px rgba(44,62,80,0.08);
}


.search-section {
    padding: 32px;
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
}


.search-form {
    background: #fff;
    padding: 28px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.06);
    text-align: center;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e5e7eb;
}


.search-title {
    font-size: 1.3em;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


.search-description {
    color: #555;
    margin-bottom: 22px;
    font-size: 1em;
}


.form-group {
    margin-bottom: 18px;
    width: 100%;
}




.search-input {
    width: 100%;
    max-width: 350px;
    padding: 13px 18px;
    border: 2px solid #2c3e50;
    border-radius: 8px;
    font-size: 1em;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: #f8f8f8;
}




.search-input:focus {
    border-color: #34495e;
    box-shadow: 0 0 0 2px rgba(44,62,80,0.12);
}




.search-btn {
    background: #2c3e50;
    color: #fff;
    padding: 13px 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
}

.search-btn:hover {
    background: #34495e;
    color: #fff;
    box-shadow: 0 4px 16px rgba(44,62,80,0.16);
}


.error {
    color: var(--danger);
    background: #f8d7da;
    padding: 13px;
    border-radius: 8px;
    margin: 18px 32px;
    border: 1px solid #f5c6cb;
    font-size: 1em;
}


.results-section {
    padding: 0 28px 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.results-count {
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--success);
    font-size: 1.1em;
    text-align: center;
}


.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(44,62,80,0.06);
    font-size: 1em;
    border: 1px solid #e5e7eb;
}


.results-table th {
    background: #fff;
    color: var(--primary);
    padding: 14px 10px;
    text-align: right;
    font-weight: 600;
    font-size: 1em;
    border-bottom: 2px solid var(--accent);
}


.results-table td {
    padding: 12px 10px;
    text-align: right;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    color: #23272b;
}


.results-table tr:last-child td {
    border-bottom: none;
}


.results-table tr:hover {
    background-color: #f4f6fa;
}


.no-results {
    text-align: center;
    color: #888;
    font-style: italic;
    margin: 32px 0;
    padding: 32px;
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 1em;
}


.time-badge {
    background: var(--info);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.5px;
}


.proceeding-badge {
    background: var(--success);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.95em;
    letter-spacing: 0.5px;
}


@media (max-width: 768px) {
    .container {
        margin: 8px;
        border-radius: 8px;
    }
    .search-section {
        padding: 12px;
    }
    .search-form {
        padding: 12px;
    }
    .search-input {
        max-width: 100%;
    }
    .results-section {
        padding: 0 8px 8px;
    }
    .results-table {
        font-size: 0.95em;
    }
    .results-table th,
    .results-table td {
        padding: 7px 5px;
    }
}