.container {
    max-width: 1200px;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

h1 { 
    font-family: 'Varela Round', 'Rubik', sans-serif;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Varela Round', 'Rubik', sans-serif;
    font-weight: 800;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 12px 25px;
    border: none;
    background: #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active, .tab-button:hover {
    background: linear-gradient(45deg, #007bff, #00ddeb);
    color: #fff;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

/* עיצוב ספציפי לטופס בטאב הראשון */
#tab1 .two-column-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

#tab1 .form-row {
    display: flex;
    gap: 20px;
}

#tab1 .form-group {
    flex: 1;
    min-width: 0;
}

#tab1 .input-field {
    width: 100%;
    box-sizing: border-box;
}

#tab1 .full-width {
    width: 100%;
}

/* התאמה למסכים קטנים רק עבור הטופס בטאב הראשון */
@media (max-width: 600px) {
    #tab1 .form-row {
        flex-direction: column;
    }
}

/* עיצוב כללי לשאר הטפסים */
form:not(.two-column-form) {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

/* Input Fields */
.input-field {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-field:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Submit Button */
.submit-btn {
    padding: 12px;
    border: none;
    background: linear-gradient(45deg, #007bff, #00ddeb);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Results Window */
.results-window {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* DataTables Styling */
#resultsTable {
    width: 100%;
    border-collapse: collapse;
}

#resultsTable th, #resultsTable td {
    padding: 12px;
    text-align: center;
}

#resultsTable thead {
    background: #007bff;
    color: #fff;
}

/* Custom Select Styling */
select.input-field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 12px;
    padding-left: 2.5rem;
    color: #555;
    font-weight: 500;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
}

select.input-field:hover {
    border-color: #007bff;
    background-color: #fff;
}

select.input-field:focus {
    border-color: #007bff;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

select.input-field option {
    padding: 12px;
    background-color: #fff;
    color: #333;
}

select.input-field option:hover {
    background-color: #f0f7ff;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    width: 100%;
}

.form-group {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .container {
        padding: 15px;
        margin: 10px;
    }
}