:root {
    --bg: #0f1724;
    --card: #0b1220;
    --accent: #0ea5a9;
    --muted: #94a3b8;
    --success: #10b981;
    --danger: #f43f5e;
    --glass: rgba(255, 255, 255, 0.03);
}

* {
    box-sizing: border-box;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial
}

/* body {
            margin: 0;
            min-height: 100vh;
            background: linear-gradient(180deg, #071029 0%, #081524 60%);
            color: #e6eef6;
            padding: 28px
        } */

.text-white {
    color: white;
}

.danger {
    color: #f43f5e;
}

.warning {
    color: #f7dc6f;
}

.wrap {
    max-width: 980px;
    margin: 0 auto
}

h1 {
    font-weight: 600;
    margin: 6px 0 18px;
    font-size: 20px
}

.pdf-btn{
    float: right;
    padding-left: 60%;
}

.card {
    background: whitesmoke;
    border-radius: 12px;
    padding: 18px;
    color: var(--card);
    /* box-shadow: 0 6px 18px rgba(6, 10, 20, 0.6); */
}

/* header row */
.top {
    display: flex;
    gap: 12px;
    align-items: center
}

.tracker-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--glass), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 169, 0.12);
    border: 2px solid rgba(14, 165, 169, 0.22)
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(14, 165, 169, 0.75)
}

.dotDanger {
    background: #f43f5e;
    box-Shadow: 0 0 12px rgba(244, 63, 94, 0.9);
}

/* blinking badge */
/* .blink {
            animation: blink 1.2s linear infinite
        } */

.blink {
    animation: blink 1.2s linear infinite !important;
}

/* New Styles for Bank Section */
.bank-icons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.bank-item {
    text-align: center;
    flex: 1;
}

.bank-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(14, 165, 169, 0.1);
    margin-bottom: 8px;
}

.bank-text {
    font-size: 14px;
    color: var(--muted);
}

.bank-item:hover .bank-text {
    color: var(--accent);
}

/* bank secton new */

.bank-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}



.bank-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background: rgba(255, 255, 255, 0.05); */
    padding: 15px;
    border-radius: 12px;
    width: 180px;
    /* width: 100%; */

    text-align: center;
}

.bankCover{
    width: 24.88%;
}





.bank-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.bank-name {
    font-weight: 700;
    color: var(--card);
    margin-bottom: 4px;
}

.bank-subname {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* SjLine starts*/

.bank-divider {
    width: 30%;         /* short line */
    height: 3px;         /* thickness */
    background-color: #d1d5db; /* light gray */
    border-radius: 2px;
    margin: 0 8px;
    flex-shrink: 0;
  }

.sjline {
      width: 100%;       /* short line */
      height: 4px;       /* thickness */
      border-radius: 2px;
      /* margin: 8px 0; */
      margin-top: 45%;
      margin-bottom: 45%;
      transition: background-color 0.3s ease; /* smooth color change */
    }

    /* Color states */
    .sjline-warning {
      background-color: #f59e0b; /* amber */
    }
    .sjline-success {
      background-color: #22c55e; /* green */
    }
    .sjline-pending {
      background-color: #3b82f6; /* blue */
    }
    .sjline-danger {
      background-color: #ef4444; /* red */
    }



/*Sjline ends*/

.mail-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.mail-btn:hover {
    background: #0bbfc7;
}

.bank-connector {
    flex: 1;
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin: 0 10px;
}



/* end bank section new */

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1c1c1c;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    color: #fff;
}

.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

#mailForm label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

#mailForm input,
#mailForm textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.send-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 8px;
}

.cancel-btn {
    background: #555;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

/* End modal css */

/* Tiny reusable blinking dot */
.tiny-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    animation: tinyBlink 900ms linear infinite !important;
    /* never stops */
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

/* Blink keyframes */
@keyframes tinyBlink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.88);
    }

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

/* State classes (uses your theme vars) */
.tiny-neutral {
    background: rgba(14, 165, 169, 0.85);
    /* teal-ish (accent) */
    box-shadow: 0 0 6px rgba(14, 165, 169, 0.85);
}

.tiny-warning {
    background: #f59e0b;
    /* amber/warning */
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.9);
}

.tiny-success {
    background: var(--success);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.9);
}

.tiny-danger {
    background: var(--danger);
    box-shadow: 0 0 6px rgba(244, 63, 94, 0.9);
}

/* Utility: accessible focus ring if needed */
.tiny-dot:focus {
    outline: 2px solid rgba(255, 255, 255, 0.06);
    outline-offset: 2px;
}


/* end new tiny dot */




/* Reusable dot circle 334 */
.dot-circle334 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    --dot334-color: #0ea5a9;
    /* default teal */
}

.dot-circle334 .inner-dot334 {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--dot334-color);
    box-shadow: 0 0 10px var(--dot334-color);
}

.dot-blink334 {
    animation: dotBlink334 1.2s linear infinite;
}

@keyframes dotBlink334 {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }

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

/* Color utility classes */
.dot334-red {
    --dot334-color: #f43f5e;
}

.dot334-green {
    --dot334-color: #10b981;
}

.dot334-blue {
    --dot334-color: #3b82f6;
}

.dot334-yellow {
    --dot334-color: #facc15;
}

.dot334-purple {
    --dot334-color: #8b5cf6;
}


/* end new do334*/

/* Download Section Container */
.download-section {
  margin-top: 20px;
  padding: 20px;
  background:var(--bg);        
  border-radius: 12px;
  /* box-shadow: 0 4px 16px rgba(0,0,0,0.35); */
  display: flex;
  justify-content: flex-end;   /* push button to right */
  align-items: center;
}

/* Download Button */
.download-btn {
  background: var(--card);   /* use secondary color */
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-btn:hover {
  background: #444;              /* slightly lighter secondary */
  transform: translateY(-2px);
}

.download-btn:active {
  transform: translateY(0);
}


/* end download button section*/

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .35;
        transform: scale(.86)
    }

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

/* progress */
.progress-wrap {
    margin-top: 14px
}

.progress {
    height: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden
}

.progress>i {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #7dd3fc);
    transition: width 400ms linear
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted)
}

/* controls & input */
.controls {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

input[type=text] {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: inherit
}

button {
    padding: 10px 14px;
    border-radius: 8px;
    border: 0;
    background: var(--accent);
    color: #012;
    cursor: pointer;
    font-weight: 600
}

button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--muted)
}

/* log */
.log {
    margin-top: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 12px;
    border-radius: 10px;
    /* max-height: 280px; */
    height: auto;
    overflow: hidden
}

.entry {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 6px;
    border-left: 3px solid transparent
}

.entry .time {
    font-size: 12px;
    color: var(--muted);
    width: 110px
}

.entry .msg {
    flex: 1
}

.entry.pending {
    border-left-color: #f59e0b
}

.entry.success {
    border-left-color: var(--success)
}

.entry.fail {
    border-left-color: var(--danger)
}

/* footer small */
.meta {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px
}

/* responsive */
@media(min-width:720px) {
    .top {
        align-items: center
    }
}