/* ===============================
   Start Survey Page Styles
================================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    background: #f4f7fb;
}

/* Ensures title is not behind header */
body {
    padding-top: 80px !important;
}



.page-wrapper {
    flex: 1;
}

.survey-start-form {
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.survey-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

/* Card-like Form Container */
.step-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

/* Form Elements */
.step-section label {
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.step-section input[type="text"],
.step-section input[type="number"] {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: border 0.3s ease;
    box-sizing: border-box;
}

.step-section input:focus {
    border-color: #3f51b5;
    outline: none;
}

/* Buttons */
.btn {
    margin-top: 30px;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.primary-btn {
    background-color: #3f51b5;
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #2c3e91;
    transform: translateY(-2px);
}

/* Alerts and Errors */
.alert-box {
    background-color: #f8d7da;
    color: #842029;
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
    border: 1px solid #f5c2c7;
}

.alert-box ul {
    margin: 0;
    padding-left: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    .page-title {
        font-size: 24px;
    }

    .survey-subtitle {
        font-size: 16px;
    }

    .step-section {
        padding: 20px;
    }
}
