.visa-stepper-form {
    background: white;
    border-radius: 15px;
    padding: 45px 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.form-header .title {
    color: #1a202c;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-header .content {
    color: #718096;
    font-size: 15px;
}

/* Stepper Styles */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
}

.stepper-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.stepper-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.stepper-item:not(.active):not(.completed):hover .stepper-circle {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: scale(1.05);
}

.stepper-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.stepper-item.active .stepper-circle {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.2);
}

.stepper-item.completed .stepper-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.stepper-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stepper-item.active .stepper-label {
    color: #3b82f6;
    font-weight: 600;
    transform: translateY(2px);
}

.stepper-item.completed .stepper-label {
    color: #10b981;
}

.stepper-item:not(.active):not(.completed):hover .stepper-label {
    color: #6b7280;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

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

.step-title {
    font-size: 20px;
    color: #1a202c;
    margin-bottom: 25px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.required {
    color: #e53e3e;
}

/* File Upload Styles */
.custom-file-upload {
    position: relative;
    margin-bottom: 10px;
}

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

.file-label {
    display: block;
    padding: 30px 20px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.file-label:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.file-label i {
    font-size: 32px;
    color: #9ca3af;
    display: block;
    margin-bottom: 10px;
}

.file-label:hover i {
    color: #3b82f6;
}

.file-label span {
    color: #6b7280;
    font-size: 14px;
}

.file-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #10b981;
    font-weight: 500;
}

.upload-instructions {
    background: #eff6ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #3b82f6;
}

.upload-instructions p {
    margin: 0;
    color: #1e40af;
    font-size: 14px;
}

.upload-instructions i {
    margin-right: 8px;
}

/* Review Section */
.review-section {
    margin-bottom: 30px;
}

.review-subtitle {
    font-size: 16px;
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.review-data {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    line-height: 2;
    font-size: 14px;
}

.review-data>div {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
}

.review-data strong {
    color: #4a5568;
    display: inline-block;
    min-width: 180px;
    flex-shrink: 0;
}

.review-data span {
    color: #6b7280;
    flex: 1;
}

.document-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.document-item:last-child {
    border-bottom: none;
}

.btn-view-file {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-file:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* File Preview Styles */
.file-preview-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.file-preview-container.active {
    display: flex;
}

.file-preview-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    width: 800px;
    position: relative;
}

.file-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.file-preview-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
}

.btn-close-preview {
    background: #e53e3e;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-preview:hover {
    background: #c53030;
    transform: rotate(90deg);
}

.file-preview-body {
    max-height: 70vh;
    overflow-y: auto;
}

.image-preview {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pdf-preview {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 5px;
}

.file-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.file-info-item {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

/* Payment Styles */
.payment-amount-box {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.amount-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.amount-value {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.amount-note {
    font-size: 13px;
    opacity: 0.8;
}

/* Payment Methods Styles */
.payment-methods {
    margin-bottom: 25px;
}

.payment-options {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.payment-option {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.payment-radio .form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-radio .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.payment-name {
    color: #1a202c;
}

.payment-description {
    font-size: 13px;
}

.payment_image img {
    border-radius: 4px;
}

.payment-note {
    background: #ecfdf5;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #065f46;
    border: 1px solid #a7f3d0;
    margin-bottom: 25px;
}

.payment-note i {
    margin-right: 8px;
    color: #10b981;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-prev {
    background: #e5e7eb;
    color: #4b5563;
}

.btn-prev:hover:not(:disabled) {
    background: #d1d5db;
    transform: translateY(-1px);
}

.btn-next {
    background: #3b82f6;
    color: white;
    flex: 1;
    max-width: 200px;
}

.btn-next:hover:not(:disabled) {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-submit {
    background: #10b981;
    color: rgb(230, 219, 219);
    width: 100%;
    max-width: 300px;
    margin-left: auto;
}

.btn-submit:hover:not(:disabled) {
    background: #0ab47e;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Checkbox */
.form-check-wrapper {
    display: flex;
    align-items: flex-start;
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.form-check-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.form-check-wrapper label {
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
    line-height: 1.5;
}

.form-check-wrapper a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.form-check-wrapper a:hover {
    text-decoration: underline;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
    animation: scaleIn 0.5s ease;
}

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

    to {
        transform: scale(1);
    }
}

.success-message h3 {
    color: #1a202c;
    font-size: 24px;
    margin-bottom: 10px;
}

.success-message p {
    color: #718096;
    font-size: 15px;
    margin-bottom: 20px;
}

.success-reference {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
}

.success-reference strong {
    color: #065f46;
}

.success-reference span {
    color: #10b981;
    font-weight: 600;
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .visa-stepper-form {
        padding: 30px 20px;
    }

    .stepper-label {
        font-size: 10px;
    }

    .stepper-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .btn-next {
        order: -1;
        max-width: 100%;
    }

    .btn-prev {
        width: 100%;
    }

    .btn-submit {
        max-width: 100%;
        margin-left: 0;
    }

    .amount-value {
        font-size: 32px;
    }

    .payment-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-radio {
        margin-bottom: 10px;
    }

    .payment_image {
        margin-top: 10px;
        margin-left: 0;
    }

    .review-data>div {
        flex-direction: column;
    }

    .review-data strong {
        min-width: auto;
        margin-bottom: 2px;
    }

    .file-preview-content {
        width: 95%;
        padding: 15px;
    }

    .pdf-preview {
        height: 300px;
    }
}

/* Step 1 Specific Styles */
.citizen-check-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.citizen-check-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.citizen-check-wrapper label {
    margin: 0;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
}

.citizen-country-input {
    flex: 1;
    min-width: 200px;
}

/* Responsive adjustments for Step 1 */
@media (max-width: 768px) {
    .citizen-check-wrapper {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .citizen-country-input {
        width: 100%;
        margin-top: 10px;
    }
}

/* Form group spacing for paired columns */
.form-group {
    margin-bottom: 25px;
}

/* Improve spacing between paired form fields */
.col-md-6:nth-child(odd) .form-group {
    margin-right: 10px;
}

.col-md-6:nth-child(even) .form-group {
    margin-left: 10px;
}

@media (max-width: 768px) {

    .col-md-6:nth-child(odd) .form-group,
    .col-md-6:nth-child(even) .form-group {
        margin-right: 0;
        margin-left: 0;
    }
}

/* Tracking */
.visa-tracking {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f9fafb, #fff);
}

@media (max-width: 768px) {
    .visa-tracking {
        padding: 40px 0 30px;
    }
}

.tracking-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .tracking-wrapper {
        padding: 0 15px;
    }
}

.tracking-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .tracking-header {
        margin-bottom: 30px;
    }
}

.tracking-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .tracking-header h1 {
        font-size: 1.875rem;
        margin-bottom: 10px;
    }
}

.tracking-header p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .tracking-header p {
        font-size: 1rem;
    }
}

.tracking-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .tracking-box {
        padding: 25px 20px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
}

.input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .input-wrapper {
        flex-direction: column;
        gap: 10px;
    }
}

.input-wrapper input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all .3s;
    min-height: 56px;
}

@media (max-width: 768px) {
    .input-wrapper input {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
        min-height: 52px;
    }
}

.input-wrapper input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.input-wrapper button {
    padding: 16px 32px;
    background: #14b8a6;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s;
    min-height: 56px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .input-wrapper button {
        width: 100%;
        padding: 16px;
        border-radius: 10px;
        min-height: 52px;
        font-size: 16px;
    }
}

.input-wrapper button:hover {
    background: #0d9488;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .input-wrapper button:hover {
        transform: none;
    }
}

.input-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .input-note {
        font-size: 0.8125rem;
        flex-wrap: wrap;
    }
}

.alert-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .alert-box {
        padding: 14px 16px;
        margin-bottom: 25px;
    }
}

.alert-box.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-box button {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.6;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
    min-width: 24px;
    min-height: 24px;
}

.app-card {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

@media (max-width: 768px) {
    .app-card {
        padding: 25px 20px;
        margin-bottom: 25px;
        border-radius: 14px;
    }
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
}

.app-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .app-left {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

.app-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .app-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

.app-left h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    word-break: break-all;
}

@media (max-width: 768px) {
    .app-left h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
}

.app-left p {
    opacity: 0.9;
    margin: 0;
    word-break: break-word;
}

@media (max-width: 768px) {
    .app-left p {
        font-size: 0.9375rem;
    }
}

.app-right {
    text-align: right;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .app-right {
        text-align: center;
    }
}

.app-right .badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
    min-width: 100px;
}

@media (max-width: 768px) {
    .app-right .badge {
        padding: 6px 14px;
        font-size: 0.8125rem;
        min-width: 90px;
    }
}

.app-right small {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.85;
    word-break: break-word;
}

@media (max-width: 768px) {
    .app-right small {
        font-size: 0.75rem;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
}

.info-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

@media (max-width: 768px) {
    .info-card {
        border-radius: 14px;
    }
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .card-title {
        padding: 18px 20px;
        font-size: 0.9375rem;
    }
}

.card-content {
    padding: 24px;
}

@media (max-width: 768px) {
    .card-content {
        padding: 20px;
    }
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 5px;
}

.info-row:last-child {
    border: none;
    padding-bottom: 0;
}

.info-row span:first-child {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .info-row span:first-child {
        font-size: 0.875rem;
    }
}

.info-row strong {
    color: #1f2937;
    font-size: 0.9375rem;
    text-align: right;
    word-break: break-word;
    max-width: 50%;
}

@media (max-width: 768px) {
    .info-row strong {
        font-size: 0.875rem;
        max-width: 60%;
    }
}

.info-row .amount {
    color: #14b8a6;
    font-size: 1.125rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .info-row .amount {
        font-size: 1rem;
    }
}

.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 36px;
    padding-bottom: 24px;
}

@media (max-width: 768px) {
    .timeline-item {
        padding-left: 30px;
        padding-bottom: 20px;
    }
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

@media (max-width: 768px) {
    .timeline-item::before {
        left: 5px;
        top: 24px;
    }
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item .dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .timeline-item .dot {
        width: 14px;
        height: 14px;
    }
}

.timeline-item.active .dot {
    width: 20px;
    height: 20px;
    left: -2px;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
}

@media (max-width: 768px) {
    .timeline-item.active .dot {
        width: 18px;
        height: 18px;
        left: -2px;
    }
}

.timeline-item .content {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px 16px;
}

@media (max-width: 768px) {
    .timeline-item .content {
        padding: 10px 14px;
    }
}

.timeline-item.active .content {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.timeline-item h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
    word-break: break-word;
}

@media (max-width: 768px) {
    .timeline-item h5 {
        font-size: 0.875rem;
    }
}

.timeline-item p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 6px;
    word-break: break-word;
}

@media (max-width: 768px) {
    .timeline-item p {
        font-size: 0.8125rem;
    }
}

.timeline-item span {
    font-size: 0.8125rem;
    color: #9ca3af;
    display: block;
}

@media (max-width: 768px) {
    .timeline-item span {
        font-size: 0.75rem;
    }
}

.empty {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .empty {
        padding: 30px;
        font-size: 0.9375rem;
    }
}

.docs-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .docs-section {
        padding: 20px;
        border-radius: 14px;
        margin-bottom: 25px;
    }
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1rem;
        margin-bottom: 18px;
    }
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .docs-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all .3s;
    min-height: 80px;
}

@media (max-width: 768px) {
    .doc-card {
        padding: 12px;
        border-radius: 10px;
        min-height: 70px;
    }
}

.doc-card:hover {
    border-color: #14b8a6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.doc-icon {
    font-size: 32px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .doc-icon {
        font-size: 28px;
    }
}

.doc-card h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
    word-break: break-word;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .doc-card h6 {
        font-size: 0.875rem;
    }
}

.doc-card small {
    font-size: 0.8125rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .doc-card small {
        font-size: 0.75rem;
    }
}

/* Status badges */
.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .badge {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
}

.badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.badge.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.badge.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.badge.payment-paid {
    background: #d1fae5;
    color: #065f46;
}

.badge.payment-pending {
    background: #fef3c7;
    color: #92400e;
}

/* Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility classes */
.text-center-mobile {
    text-align: center;
}

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center;
    }
}

.full-width-mobile {
    width: 100%;
}

@media (max-width: 768px) {
    .full-width-mobile {
        width: 100%;
    }
}

/* Payment Processing Styles */
.payment-processing {
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.spinner-container {
    position: relative;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Step Transitions */
.form-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Spinner animations */
.spinner-border {
    animation: spin 1s linear infinite;
    border-width: 0.3em;
}

.spinner-grow {
    animation: grow 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes grow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Progress bar animation */
.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* Text animations */
h4 {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}


.header__action > li {
    margin-inline-start: 33px;
    padding-inline-start: 34px;
}

