html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-image: url('/images/ahadubg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-color: #f8f9fa; /* fallback color for when image is missing */
}

.page-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 10px;
}


.info-list dt {
    font-weight: 600;
    color: #333;
}

.info-list dd {
    margin-bottom: 10px;
}
:root {
    --ahadu-red: #d32f2f;
    --ahadu-red-dark: #b71c1c;
    --ahadu-black: #1a1a1a;
    --ahadu-gold: #d4af37;
    --ahadu-gray-light: #f8f9fa;
    --ahadu-gray: #6c757d;
    --ahadu-gray-dark: #343a40;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    color: var(--ahadu-gray-dark);
    overflow-x: hidden;
}

.account-selection-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(211, 47, 47, 0.03) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(211, 47, 47, 0.03) 0%, transparent 20%);
    pointer-events: none;
}

.selection-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    border: none;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

    .selection-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    }

.selection-header {
    /*  background: linear-gradient(135deg, var(--ahadu-red) 0%, var(--ahadu-red-dark) 100%);*/
    color: white;
    background: #840037;
    padding: 1rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url(/images/Login_Bg_Desk.png);
    background-size: 25% AUTO;
}

    .selection-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.bank-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bank-logo {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

    .bank-logo i {
        font-size: 1.5rem;
        color: var(--ahadu-red);
    }

.bank-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.bank-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.selection-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #ffeaea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.selection-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.selection-body {
    padding: 3rem 2rem;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.account-option {
    background: var(--ahadu-gray-light);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .account-option::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, transparent, var(--ahadu-red), transparent);
        opacity: 0;
        transition: var(--transition);
    }

.existing-option {
    border-color: rgba(26, 35, 126, 0.1);
}

.new-option {
    border-color: rgba(211, 47, 47, 0.1);
}

.account-option:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

    .account-option:hover::before {
        opacity: 1;
    }

.existing-option:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.new-option:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffebee 100%);
}

.option-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.existing-option .option-icon-container {
 
    background: #840037;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.new-option .option-icon-container {
    background: linear-gradient(135deg, var(--ahadu-red) 0%, var(--ahadu-red-dark) 100%);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.account-option:hover .option-icon-container {
    transform: scale(1.1) rotate(5deg);
}

.option-icon {
    font-size: 2.5rem;
    color: white;
}

.option-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ahadu-black);
    position: relative;
    display: inline-block;
}

    .option-title::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: var(--ahadu-gray);
        border-radius: 2px;
        transition: var(--transition);
    }

.account-option:hover .option-title::after {
    width: 60px;
    background: var(--ahadu-red);
}

.option-desc {
    color: var(--ahadu-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.option-button {
    background: linear-gradient(135deg, var(--ahadu-red) 0%, var(--ahadu-red-dark) 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    position: relative;
    overflow: hidden;
}

    .option-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: 0.5s;
    }

    .option-button:hover::before {
        left: 100%;
    }

.existing-option .option-button {
   
    background: #840037;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

.option-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.existing-option .option-button:hover {
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

.info-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--ahadu-gray-light);
    border-radius: 16px;
    border-left: 4px solid var(--ahadu-red);
}

    .info-note i {
        color: var(--ahadu-red);
        margin-right: 0.5rem;
    }

.footer-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--ahadu-gray);
    font-size: 0.875rem;
}

/* Loading Modal */
.modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.modal-body {
    padding: 3rem 2rem;
}

.spinner-border {
    color: var(--ahadu-red);
}

/* Error Message */
#errorMessage {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-md);
}

/* Responsive Design - FIXED: Escape @ symbol */
@@media (max-width: 768px) {
    .account-selection-container {
        padding: 1rem;
    }

    .selection-header {
        padding: 2rem 1rem;
    }

    .selection-title {
        font-size: 2rem;
    }

    .selection-body {
        padding: 2rem 1rem;
    }

    .options-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .account-option {
        padding: 2rem;
    }
}

@@media (max-width: 480px) {
    .bank-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .selection-title {
        font-size: 1.75rem;
    }

    .option-button {
        min-width: 180px;
        padding: 0.75rem 1.5rem;
    }
}

/* Animation - FIXED: Escape @ symbol */
@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selection-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.account-option {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

    .account-option:nth-child(1) {
        animation-delay: 0.1s;
    }

    .account-option:nth-child(2) {
        animation-delay: 0.2s;
    }

.profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid #e3f2fd;
}



.card-header {
    border-radius: 12px 12px 0 0 !important;
}

.badge {
    padding: 6px 12px;
    font-weight: 500;
}

.font-monospace {
    font-family: 'Courier New', monospace;
}

/* Print-specific styles */
@@media print {
    body * {
        visibility: hidden;
    }

    .print-section,
    .print-section * {
        visibility: visible;
    }

    .print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    /* Hide non-essential elements in print */
    .btn,
    .d-print-none,
    .card-footer,
    .col-lg-4,
    .d-grid,
    .border-top {
        display: none !important;
    }
    /* Adjust layout for print */
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card {
        border: none;
        box-shadow: none;
        border-radius: 0;
    }

    .card-header {
        background-color: #fff !important;
        color: #000 !important;
        border-bottom: 2px solid #d32f2f;
        padding: 20px 0;
    }

    .card-body {
        padding: 0;
    }


    .badge {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }
  
    /* Page breaks */
    .page-break {
        page-break-before: always;
    }
    /* Print header */
    .print-header {
        display: block;
        text-align: center;
        margin-bottom: 30px;
        border-bottom: 2px solid #d32f2f;
        padding-bottom: 15px;
    }

        .print-header img {
            max-height: 80px;
        }
    /* Print footer */
    @page {
        margin: 20mm;
    }

    @page :first {
        margin-top: 30mm;
    }

    .print-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 12px;
        color: #666;
        border-top: 1px solid #ddd;
        padding-top: 10px;
    }
    /* Force black and white for printing */
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    /* Ensure no background colors in print */
    .bg-danger, .bg-info, .bg-secondary, .bg-light, .bg-primary {
        background-color: transparent !important;
        color: #000 !important;
    }
    /* Remove text decorations */
    a[href]:after {
        content: none !important;
    }
    /* Font adjustments for print */
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
    }
    /* Ensure no images are printed as background */
    * {
        background-image: none !important;
    }
    /* Table-like layout for info */
    .info-group label {
        font-weight: bold;
        color: #000;
        margin-bottom: 5px;
    }

    .info-group p {
        margin: 0;
        color: #333;
    }
}

/* Non-print styles */
@@media screen {
    .print-header,
    .print-footer {
        display: none;
    }
}

.profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid #e3f2fd;
}

.profile-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.info-group {
    padding: 12px 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}
.info-group:hover {
        background-color: #e9ecef;
        transform: translateY(-2px);
    }

.card {
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

.badge {
    padding: 6px 12px;
    font-weight: 500;
}

.font-monospace {
    font-family: 'Courier New', monospace;
}

/* Print styles */
@@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    .text-danger, .text-primary, .text-secondary {
        color: #000 !important;
    }

    .bg-danger, .bg-info, .bg-secondary, .bg-light {
        background-color: transparent !important;
    }

    .btn, .d-grid {
        display: none !important;
    }
}


.ahadu-bg{
    background: linear-gradient(137.94deg, #941431 0%, #941431 100%);
    color:#fff;
}

.black {
     color: black !important;
}.Bgblack {
     background: black !important;
}


.text-look {
    color: #840037;
    font-weight: 700;
}
.btn-outline-success {
    color: #840037!important;
    border-color: #840037!important;
}

@media (max-width: 768px) {
    .selection-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }
}





@media (max-width: 768px) {
    .mobile-size {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }
}


.btn-outline-success:hover {
    color: #fff !important;
    background-color: #840037;
    border-color: #198754;
}


/*test start */

