/* Survey Modal Styles */
#survey-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#survey-modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border: 2px solid #ddd;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    animation-name: animatetop;
    animation-duration: 0.4s;
    text-align: left;
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

#survey-modal-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

#survey-modal-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

#survey-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

#survey-form select,
#survey-form textarea,
#survey-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

#survey-form select:focus,
#survey-form textarea:focus,
#survey-form input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#survey-form textarea {
    resize: vertical;
    min-height: 80px;
}

#survey-form button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    float: right;
}

#survey-form button:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

/* Close button */
.survey-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.survey-close:hover,
.survey-close:focus {
    color: #000;
    text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    #survey-modal {
        padding: 10px;
    }
    
    #survey-modal-content {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    #survey-modal-content h2 {
        font-size: 20px;
    }
    
    #survey-form button {
        width: 100%;
        float: none;
        margin-top: 15px;
    }
} 