html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

.page-wrapper {
    flex: 1;
}

.survey-index-wrapper {
    padding: 40px 20px;
    background: #f8f9fc;
}

.survey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.survey-header h2 {
    font-size: 28px;
    margin: 0;
}

.actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-toggle {
    padding: 6px 10px;
    border-radius: 6px;
}

/* New Modern Agent Login Button */
.agent-login-btn {
    padding: 10px 20px;
    background: linear-gradient(to right, #4a90e2, #007bff);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.agent-login-btn:hover {
    background: linear-gradient(to right, #007bff, #0056b3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.survey-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Modern Card Hover Effect */
.survey-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.survey-card:hover {
    background: #f0f8ff;
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.2);
    color: #007bff;
}


/* LANGUAGE SELECTION SECTION */

.language-form {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-option {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #007bff;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-option input[type="radio"] {
    appearance: none;
    width: 0;
    height: 0;
    margin: 0;
    position: absolute;
}

.lang-option span {
    color: #007bff;
    font-weight: 500;
    user-select: none;
}

.lang-option:hover {
    background-color: #007bff;
}

.lang-option:hover span {
    color: #fff;
}

/* When selected */
.lang-option input[type="radio"]:checked + span {
    color: #fff;
    font-weight: 600;
}

.lang-option input[type="radio"]:checked ~ .lang-option {
    background-color: #007bff;
}
