/* Main Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f5ff;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 700px;
    margin: 20px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #6121B3, #2980b9, #1abc9c);
}

header {
    margin-bottom: 30px;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    max-width: 150px;
    height: auto;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 30px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

h1 i {
    margin-right: 15px;
    color: #6121B3;
    font-size: 2rem;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-top: 0;
    font-weight: 300;
}

h2,
h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

h2 i,
h3 i {
    margin-right: 10px;
    color: #6121B3;
}

footer {
    margin-top: 40px;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

footer p {
    margin: 0px
}

/* Form Elements */
.license-selection {
    text-align: center;
    margin-bottom: 0px;
    padding: 25px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 2px 5px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #6121B3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.license-selection h2 {
    margin-top: 0px !important;
}

.license-selection:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.06);
}

.license-selection h3 {
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.license-selection h3 i {
    margin-right: 12px;
    color: #6121B3;
    font-size: 1.6rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: max-content;
    transition: transform 0.2s ease;
}

.select-wrapper:hover {
    transform: translateY(-1px);
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6121B3;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.select-wrapper .select-application-arrow::after {
    transform: none !important;
}

.select-wrapper.select-application-arrow::after {
    transform: translateY(0px);
}


label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

select,
input[type="number"],
input[type="text"],
input[type="date"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #2c3e50;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

input.age-field {
    width: auto !important;
}

select:hover,
input:hover {
    border-color: #bbb;
}

select:focus,
input:focus {
    border-color: #6121B3;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
    transform: translateY(-1px);
}

select {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-color: #f9f9f9;
}

.form-group {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.form-group:hover label {
    color: #6121B3;
}

.radio-group,
.checkbox-group {
    margin-bottom: 20px;
    padding: 5px 0;
}

.radio-options {
    display: flex;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.radio-option:hover,
.checkbox-option:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.radio-option label,
.checkbox-option label {
    margin-bottom: 0;
    margin-left: 8px;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.2s ease;
}

.radio-option:hover label,
.checkbox-option:hover label {
    color: #6121B3;
}

/* Buttons */
button {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    background-color: #6121B3;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}

button:hover::before {
    left: 100%;
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    opacity: 0.7;
}

button:disabled::before {
    display: none;
}

button i {
    margin-right: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

button:hover i {
    transform: translateX(3px);
}



.btn-next {
    background: linear-gradient(135deg, #6121B3, #2574a9);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-next:hover {
    background: linear-gradient(135deg, #2980b9, #1a5276);
}

.btn-upload {
        padding: 14px 28px;
        border: none;
        border-radius: 8px;
        background: linear-gradient(135deg, #2ecc71, #27ae60);
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
        min-width: 150px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
        text-decoration: none !important;
}

.btn-upload:hover {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}

.upload-btn {
    background: #f7f7f7;
    padding: 10px 20px;
    border-radius: 8px;
    width: 200px;
    margin-bottom: 15px;
    color: #2c3e50;
    text-decoration: none;
    gap: 10px;
    display: flex;
    align-items: center;
}

.upload-btn:hover, .toggle-btn:hover {
    background: linear-gradient(135deg, rgb(97, 33, 179), rgb(37, 116, 169));
    color: #fff;
}

.btn-prev {
    background: linear-gradient(135deg, #6121B3, #2574a9);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-prev:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-prev:hover i {
    transform: translateX(-3px);
}

.btn-submit {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}

/* Timeline Styles */
.timeline-container {
    margin: 40px 0;
    position: relative;
    padding: 10px 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 0px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 125px;
    width: 70%;
    height: 4px;
    background: linear-gradient(to right, #e0e0e0, #e0e0e0);
    z-index: 1;
    border-radius: 2px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 33%;
    transition: all 0.3s ease;
    padding: 0 15px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #95a5a6;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    position: relative;
    z-index: 3;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
    position: absolute;
    top: -15px;
    z-index: 4;
    /* right: -5px; */
}

.step-title {
    font-size: 16px;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-bottom: 5px;
}

.step-description {
    font-size: 13px;
    color: #95a5a6;
    text-align: center;
    max-width: 150px;
    transition: all 0.3s ease;
}

.timeline-step.active .step-icon {
    background-color: #ebf5fb;
    color: #6121B3;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.2);
}

.timeline-step.active .step-number {
    background: linear-gradient(to right, #6121B3, #2980b9);
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(52, 152, 219, 0.3);
}

.timeline-step.active .step-title {
    color: #2980b9;
    font-weight: 600;
}

.timeline-step.active .step-description {
    color: #7f8c8d;
}

.timeline-step.completed .step-icon {
    background-color: #e8f8f5;
    color: #2ecc71;
    box-shadow: 0 6px 12px rgba(46, 204, 113, 0.2);
}

.timeline-step.completed .step-number {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    box-shadow: 0 3px 6px rgba(46, 204, 113, 0.3);
}

.timeline-step.completed .step-title {
    color: #27ae60;
    font-weight: 600;
}

.timeline-step.completed .step-number::after {
    content: '✓';
    font-size: 14px;
}

/* Form Sections */
.form-section {
    display: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.9));
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    margin-bottom: 0px;
    border-top: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
}

.form-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.04);
}

.form-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    transition: transform 0.5s ease;
}

.form-section:hover::before {
    transform: scale(1.1);
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.form-section h3 i {
    margin-right: 12px;
    color: #6121B3;
    font-size: 1.6rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-section.active {
    display: block;
    animation: fadeIn 0.6s ease-out;
    border-top-color: #6121B3;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.points-summary {
    background: linear-gradient(to right, #f1f9fe, #f8fdff);
    padding: 12px 14px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid #6121B3;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.points-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.12);
}

.points-summary p {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.points-summary p::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #6121B3;
}

.points-summary #point_total {
    font-weight: bold;
    color: #6121B3;
    font-size: 18px;
    margin-left: 5px;
}

/* Warning and Info Messages */
.warning-message {
    background: linear-gradient(to right, #fff8e1, #fff3cd);
    color: #856404;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
    border-left: 4px solid #ffc107;
    position: relative;
    overflow: hidden;
}

.warning-message::before {
    content: '';
    position: absolute;
    top: 26%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.4) 25%,
            rgba(255, 255, 255, 0.4) 50%, transparent 50%,
            transparent 75%, rgba(255, 255, 255, 0.4) 75%);
    background-size: 8px 8px;
    opacity: 0.3;
    z-index: 0;
}

.warning-message i {
    margin-right: 12px;
    font-size: 20px;
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.warning-message span {
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Success Messages */
.success-messages {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .success-message {
    background: linear-gradient(to right, #e8f8f5, #d4f1e8);
    color: #27ae60;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.15);
    border-left: 4px solid #2ecc71;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
  }
  
  .success-message i {
    margin-right: 12px;
    font-size: 18px;
    color: #2ecc71;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .error-message {
    background: linear-gradient(to right, #fee8e8, #f1d4d4);
    color: #e74c3c;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.15);
    border-left: 4px solid #e74c3c;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
  }
  
  .error-message i {
    margin-right: 12px;
    font-size: 18px;
    color: #e74c3c;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
    }

    50% {
        box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
    }

    100% {
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
    }
}

/* Points Display */
#point_total {
    font-weight: bold;
    color: #6121B3;
    font-size: 18px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
    }

    100% {
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
    }
}

/* Additional Styling */
.form-section.active {
    display: block;
    animation: fadeIn 0.6s ease-out;
    border-top-color: #6121B3;
}

.timeline-step.active {
    animation: scaleIn 0.5s ease-out;
}

/* .select-wrapper:focus-within {
    animation: glow 2s infinite;
} */

.btn-submit:hover {
    animation: glow 2s infinite;
}

/* Custom Checkbox and Radio Styling */
input[type="checkbox"],
input[type="radio"] {
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
    outline: none;
    transition: all 0.3s ease;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 6px;
    margin-top: -2px;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    border-color: #6121B3;
    background-color: #6121B3;
}

input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .step-title {
        font-size: 14px;
    }

    .step-description {
        font-size: 12px;
        max-width: 100px;
    }

    button {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 100px;
    }

    .form-section {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .timeline {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline::before {
        display: none;
    }

    .timeline-step {
        width: 100%;
        margin-bottom: 20px;
        flex-direction: row;
        align-items: center;
    }

    .step-icon {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .step-title,
    .step-description {
        text-align: left;
    }

    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .form-navigation button {
        width: 100%;
    }
}


.document-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.document-item {
    background: linear-gradient(to right, #f1f9fe, #f8fdff);
    padding: 10px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    border-left: 3px solid #6121B3;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 5px;
    font-size: 15px;
}

.document-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.12);
}

.document-item i {
    margin-right: 10px;
    color: #6121B3;
}

.document-item span {
    font-weight: 500;
    color: #2c3e50;
}

.points-summary ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.points-summary li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

/* .points-summary li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #2ecc71;
} */

/* .points-summary li:first-child {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0px;
} */

/* Upload Page CSS  */

.upload-container {
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f4ff;
    border-radius: 16px;
    font-family: sans-serif;
  }

  .upload-container h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .upload-btn, .toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
  }

  .upload-btn.disabled {
  pointer-events: none;         /* Prevent clicking */
  opacity: 0.6;                 /* Visual cue that it's disabled */
  cursor: not-allowed;          /* Change cursor style */
  color: #aaa;                  /* Dim the text color */
  border-color: #eee;           /* Dim the border */
}

  .upload-btn i,
  .toggle-btn i {
    margin-right: 10px;
  }

  .upload-btn:hover,
  .toggle-btn:hover {
    background-color: #eee;
  }

  .upload-section {
    display: none;
    margin-top: 20px;
  }

  .upload-section.active {
    display: block;
  }

  .flashes {
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }

  .flashes li.success {
    color: green;
    background: #e6ffe6;
    padding: 8px;
    border-radius: 6px;
  }

  .flashes li.error {
    color: red;
    background: #ffe6e6;
    padding: 8px;
    border-radius: 6px;
  }

/* custom choose file css  */
  .custom-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }

  .upload-label {
    background: linear-gradient(135deg, #6121B3, #2574a9);
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .upload-label:hover {
    background-color: #0056b3;
  }

  .custom-file-upload input[type="file"] {
    display: none;
  }

  .file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
  }


  .upload-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
  }

  .preview-container img,
  .preview-container iframe {
    max-width: 100%;
    max-height: 200px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }


