* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#error-div {
    color: red;
    text-align: center;
    margin: 15px 0;
}

.disclaimerText {
    font-size: 11px;
}

.error {
    font-size: 12px;
    color: red;
    font-weight: bold;
}

/* custom css */

.bg-primary {
    background-color: #0052A5 !important;
}

.text-primary {
    color: #0052A5 !important;
}

/* sidebar */

.nav-item span {
    letter-spacing: 0.3px;
    font-weight: 500;
    font-size: 0.75rem !important;
}

.nav-link:hover {
    background-color: #ffffff10;
}


/* progress shown during renewal form filling process */

.stepper {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: #dee2e6;
    z-index: 0;
}

.step.completed:not(:last-child)::after {
    background: #0052A5;
}

.circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dee2e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    z-index: 1;
    position: relative;
}

.step.completed .circle {
    background: #0052A5;
    color: #fff;
}

.step.active .circle {
    background: #28a745;
    color: #fff;
    box-shadow: 0 0 0 5px rgba(40, 167, 69, .15);
}

.label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
}

.step.completed .label,
.step.active .label {
    color: #000;
}

@media (max-width: 576px) {
    .label {
        font-size: 11px;
    }
}

/* dahsboard instruction section */

.instruction-card {
    border-radius: 12px;
    border: none;
}

.instruction-header-icon {
    font-size: 1rem;
    color: #0052A5;
}

.instruction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.icon-wrap {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f6ff;
    border-radius: 6px;
    color: #0052A5;
    font-size: 0.85rem;
    margin-top: 2px;
}

.instruction-item .text {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.instruction-item h6 {
    font-weight: 500;
}

.nested-list {
    list-style: disc;
    margin: 6px 0 0 20px;
    padding: 0;
    color: #555;
    font-size: 0.85rem;
}

.nested-list li {
    margin-bottom: 4px;
    letter-spacing: 0.4px;
    color: #777;
}

.btn-primary {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.btn-primary i {
    margin-right: 6px;
}

.size-small {
    font-size: 0.78rem;
}

.size-medium {
    font-size: 0.88rem;
}

.size-large {
    font-size: 1rem;
}

.size-small .icon-wrap {
    font-size: 0.7rem;
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.size-medium .icon-wrap {
    font-size: 0.75rem;
    width: 28px;
    height: 28px;
    min-width: 28px;
}

.size-large .icon-wrap {
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    min-width: 32px;
}


/* dashboard progress design */

.timeline-stepper {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.9;
}

.timeline-stepper::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(to right, #0d6efd, #0dcaf0);
    z-index: 1;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.timeline-stepper .step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.timeline-stepper .step .circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-stepper .step.active .circle {
    background-color: #0052A5;
    color: #fff;
    box-shadow: 0 0 10px rgba(13,110,253,0.4);
}

.timeline-stepper .step.completed .circle {
    background-color: #0052A5;
    color: #fff;
}

.timeline-stepper .step .label {
    margin-top: 6px;
    font-size: 0.7rem;
    color: #6c757d;
    white-space: nowrap;
}

.timeline-stepper .step.active .label,
.timeline-stepper .step.completed .label {
    color: #0052A5;
    font-weight: 700;
}

.text-limit {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* print recipt style */

@media print {
    body * {
        visibility: hidden;
    }

    #payment-reciept,
    #payment-reciept * {
        visibility: visible;
    }

    #payment-reciept {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    .btn {
        display: none !important;
    }

    .receipt-table td,
    .receipt-table th {
        padding: 6px;
        font-size: 13px;
    }
}

/* success animation */

.success-card {
    animation: fadeScale 0.4s ease-in-out;
}
@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}


/* main login page heading*/

@media (max-width: 576px) {
    .login-page-heading {
        font-size: 1.8rem;
    }

    .login-page-subheading {
        font-size: 1.1rem;
        font-weight: 400;
    }
}


/* reupload prev file button */

#renwal-form-step-two-re-upload label > a {
    font-size: 10px;
    
}