/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f6fb;
    min-height: 100vh;
    padding: 40px 20px;
}

/* Main Title */
h1 {
    color: #2d3a4b;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Survey Container */
.survey-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 35px;
}

h2 {
    color: #2d3a4b;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

/* Form Elements */
label {
    display: block;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #dbe2ef;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #f7f9fc;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #3f72af;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 114, 175, 0.1);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233f72af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
#submitBtn {
    background-color: #3f72af;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#submitBtn:hover {
    background-color: #2d3a4b;
    transform: translateY(-1px);
}

#submitBtn:active {
    transform: translateY(0);
}

/* Separator */
hr {
    margin: 30px 0;
    border: none;
    height: 1px;
    background-color: #dbe2ef;
}

/* User Information Display */
#userInfo {
    background-color: #f7f9fc;
    border: 1px solid #dbe2ef;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

#userInfo h2 {
    color: #2d3a4b;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: left;
}

#userInfo p {
    color: #34495e;
    margin: 12px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

#userInfo span {
    font-weight: 600;
    color: #2d3a4b;
}

/* Responsive Design */
@media (max-width: 640px) {
    body {
        padding: 20px 15px;
    }

    .survey-container {
        padding: 25px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    #submitBtn {
        padding: 12px 24px;
    }
}
