#form-note ul {
  padding-left: 1.25rem;
}

#form-note li {
  font-size: 0.95rem;
  line-height: 1.4;
}

#form-note {
  max-width: 850px;
  margin: 0 auto;
}

.admissionform-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

/* Step titles */
.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6a1b9a; /* Deep purple text */
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 1.2px;
    font-family: 'Poppins', sans-serif;
}

.step-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #f06292, #ba68c8); /* Pink to purple */
    border-radius: 4px;
}

.form-group.pwbd-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group.pwbd-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group.pwbd-field label {
    margin: 0;
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

/* Form group styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="file"],
select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus,
select:focus {
    border-color: #004aad;
    outline: none;
}

/* Checkbox styling */
input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 10px;
}

/* Buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-next,
.btn-prev,
.btn-submit,
.edit-btn {
    background: #004aad;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-prev {
    background: #888;
}

.btn-submit {
    background: #28a745;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
    color: #6a1b9a; /* Deep purple text */
    letter-spacing: 1px;
    position: relative;
    padding-left: 10px;
}

.review-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background-color: #49136b; /* Blue accent bar */
    border-radius: 2px;
}


.edit-btn {
    background: transparent;
    border: none;
    color: #ec3535; /* Red shade */
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.edit-btn:hover {
    color: #b71c1c; /* Darker red on hover */
}

.edit-icon {
    font-size: 1.1rem;
}


/* Steps visibility */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Review section */
.review-section {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
}


.review-section p {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 500;
}

/* Messages */
.messages {
    list-style: none;
    margin-bottom: 20px;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 10px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
}
.qr-code {
    text-align: center;
    margin-bottom: 20px;
}

.qr-code label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-image {
    max-width: 200px;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 8px;
}
.error-message {
    color: red;
    font-size: 0.85rem;
    margin-top: 4px;
}
.star::after {
    content: "*";
    color: red;
}

/* Base styles already applied above this section */

@media screen and (max-width: 992px) {
    .form-step {
        padding: 20px;
    }

    .form-group {
        width: 100%;
    }

    .form-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .form-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }

    .review-section h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .form-step h2.step-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px;
    }

    .form-buttons button {
        font-size: 15px;
    }

    .edit-btn {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media screen and (max-width: 576px) {
    .form-step {
        padding: 15px;
    }

    .form-group.pwbd-field {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group.pwbd-field input[type="checkbox"] {
        margin-bottom: 5px;
    }

    .form-buttons {
        padding-top: 10px;
    }

    .review-section p,
    .review-section span,
    .review-section a {
        font-size: 14px;
    }
}
