﻿
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

:root {
    --primary: #FFD700;
    --dark: #111;
    --text: #222;
    --bg: #f4f6fb;
    --card: #ffffff;
    --green: #25d366;
    --green-dark: #128c7e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans Bengali', sans-serif;
}
/* ===========================
   Smooth Scroll
=========================== */
html {
    scroll-behavior: smooth;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #FFC107 #FFD700;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #FFD700;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #FFC107;
    border-radius: 10px;
    border: 2px solid #FFD700;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #FFB300;
    }

::-webkit-scrollbar-corner {
    background: #FFD700;
}
body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* ================= HEADER ================= */
header {
    background: var(--primary);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

    .logo h3 {
        font-size: 15px;
        font-weight: 700;
    }
/* ================= CALL BUTTON ================= */
.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dark), #333);
    color: #fff;
    padding: 10px 14px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

    .call-btn:hover {
        transform: translateY(-2px);
    }

    .call-btn i {
        transition: 0.3s;
    }

    .call-btn:hover i {
        animation: shake 0.4s ease-in-out;
    }

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px) rotate(-5deg);
    }

    50% {
        transform: translateX(3px) rotate(5deg);
    }

    75% {
        transform: translateX(-3px) rotate(-5deg);
    }

    100% {
        transform: translateX(0);
    }
}
/* ================= HERO ================= */
.hero {
    background: linear-gradient(135deg, #FFD700, #ffcc33);
    padding: 50px 20px;
    text-align: center;
    border-radius: 0 0 25px 25px;
}

    .hero h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 14px;
        opacity: 0.8;
        margin-bottom: 15px;
    }

    .hero button {
        background: #fff;
        border: none;
        padding: 10px 18px;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.3s;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }

        .hero button:hover {
            transform: scale(1.05);
        }
/* ================= SECTION ================= */
.section {
    scroll-margin-top: 80px;
    padding: 35px 15px;
    text-align: center;
}

a.h4 {
    text-decoration: none;
    font-weight: 700;
    color: #000;
}

.section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

    .section h2::after {
        content: "";
        width: 50px;
        height: 3px;
        background: var(--primary);
        display: block;
        margin: 6px auto 0;
        border-radius: 10px;
    }
/* ================= CARDS ================= */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.card {
    background: var(--card);
    width: 260px;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }
    /* soft shine animation */
    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(0, 0, 0, 0.04), transparent);
        transition: 0.5s;
    }

    .card:hover::before {
        left: 100%;
    }
/* ================= BUTTON ================= */
.btn {
    margin-top: 10px;
    padding: 10px 14px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

    .btn,
    .btn:hover,
    .btn:focus {
        text-decoration: none;
        transform: scale(1.05);
    }

.btnHome {
    margin-top: 10px;
    padding: 10px 14px;
    border: none;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

    .btnHome,
    .btnHome:hover,
    .btnHome:focus {
        text-decoration: none;
        transform: scale(1.05);
    }

/* ================= ABOUT ================= */
.about {
    scroll-margin-top: 80px;
    background: #fff;
    margin: 20px;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

    .about p {
        text-align: justify;
        line-height: 1.8;
        margin-bottom: 10px;
    }
/* ================= WHATSAPP FLOAT ================= */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }

    100% {
        transform: scale(1);
    }
}
/* ================= FOOTER ================= */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 12px;
    margin-top: 30px;
    font-size: 12px;
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 92%;
    }

    .hero h1 {
        font-size: 18px;
    }

    .hero p {
        font-size: 13px;
    }

    .logo h3 {
        font-size: 14px;
    }
}
/* ================= EMPLOYEE AREA ================= */
.employee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
}

.employee-row {
    width: 100%;
    display: flex;
    justify-content: center;
}
/* single employee full focus */
.employee-single {
    width: 280px;
}
/* last row many employees */
.employee-multi {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
/* override card for employee image */
.employee-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 10px;
}
/* ================= MENU ================= */
.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    color: #111;
    padding: 8px;
}

.nav-menu {
    position: absolute;
    top: 70px;
    right: 15px;
    width: 230px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    z-index: 9999;
}

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        text-decoration: none;
        color: #222;
        padding: 14px 18px;
        font-weight: 600;
        border-bottom: 1px solid #eee;
        transition: .3s;
    }

        .nav-menu a:last-child {
            border-bottom: none;
        }

        .nav-menu a:hover {
            background: #FFD700;
        }

html {
    scroll-behavior: smooth;
}

.brand {
    display: inline-block;
    margin-left: 5px;
    padding: 4px 12px;
    border-radius: 30px;
    background: linear-gradient(135deg, #111, #333);
    color: #FFD700;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .brand:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

.content-layout {
    padding: 20px;
}

.main-content {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}
/* ================= BUTTONS (MODERN BOOTSTRAP STYLE OVERRIDE) ================= */
.btn {
    border-radius: 12px !important;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-success {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4d4d, #c82333);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
}

/* ================= FORM ================= */
.form-control,
.form-control-sm {
    border-radius: 10px;
    border: 1px solid #ddd;
    min-height: 42px;
    transition: 0.2s;
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.15rem rgba(255, 215, 0, 0.25);
    }

/* ================= TABLE ================= */
.table-responsive {
    border-radius: var(--radius);
    overflow-x: auto;
    background: white;
    /* smooth scroll */
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #FFC107 #FFD700;
}

.tablelg {
    min-width: 1100px;
}

    .table th {
        background: var(--primary);
        color: var(--dark);
        text-align: center;
        font-weight: 700;
        vertical-align: middle;
    }

    .table td {
        text-align: center;
        vertical-align: middle;
    }

    /* ================= GRID ACTION BUTTONS ================= */
    .table .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

/* ================= MODAL (IMPORTANT FIX) ================= */
.modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-header {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    border-bottom: none;
}


.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    background: white;
}
/* ================= IMAGE ================= */
.profile-pic-wrapper {
    text-align: center;
}

.pic-holder {
    width: 110px;
    height: 110px;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
}

    .pic-holder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.img-thumbnail {
    border-radius: 12px;
}

/* ================= PASSWORD FIELD ================= */
.password-container {
    position: relative;
}

.eye-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
}

/* ================= INPUT GRID ================= */
.row > div {
    margin-bottom: 10px;
}

/* ================= SEARCH BAR ================= */
input[type="text"].form-control-sm {
    height: 38px;
}

/* ================= BADGE / LABEL ================= */
.label,
.badge {
    border-radius: 10px;
}

/* ================= MOBILE FIXES ================= */
@media (max-width: 768px) {

    .content-layout {
        padding: 10px;
    }

    .main-content {
        padding: 12px;
    }

    .heading h1 {
        font-size: 20px;
    }

    .modal-dialog {
        margin: 10px;
        max-width: 100%;
    }

    .modal-body {
        max-height: 65vh;
        padding: 12px;
    }

    /* FORCE FULL WIDTH BUTTONS */
    .modal-footer .btn,
    .modal-footer button,
    .modal-footer input {
        width: 100%;
    }

    /* GRID STACK FIX */
    .col-md-6,
    .col-lg-6,
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* TABLE SMALL TEXT */
    .table td,
    .table th {
        font-size: 12px;
        white-space: nowrap;
    }

    .btn-sm {
        font-size: 11px;
        padding: 4px 8px;
    }

    .pic-holder {
        width: 90px;
        height: 90px;
    }

    .about {
        scroll-margin-top: 80px;
        background: #fff;
        margin: 10px;
        padding: 10px;
        border-radius: 14px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
        /* smooth scroll */
        scroll-behavior: smooth;
        /* Firefox */
        scrollbar-width: thin;
        scrollbar-color: #FFC107 #FFD700;
    }
}

.d-none {
    visibility: hidden !important;
    display: none !important;
}
/* ================= LOADING SCREEN ================= */
#waitingScreen {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    color: #fff;
    font-size: 18px;
}

.grid-scroll {
    height: calc(70vh);
    overflow: auto;
    /* smooth scroll */
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #FFC107 #FFD700;
}

    .grid-scroll th {
        position: sticky;
        top: 0;
        z-index: 10;
    }

.modern-scroll {
    max-height: 500px !important;
    overflow-y: auto;
    overflow-x: hidden;
    /* smooth scroll */
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #FFC107 #FFD700;
}

    /* Chrome, Edge, Safari */
    .modern-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .modern-scroll::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .modern-scroll::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #6366f1, #22c55e);
        border-radius: 10px;
    }

        .modern-scroll::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #4f46e5, #16a34a);
        }

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

    .section-title h2 {
        margin: 0;
        font-size: 30px;
        font-weight: 700;
        color: #1f2937;
    }

.title-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right,#facc15,#f59e0b);
    border-radius: 20px;
}

@media (max-width:768px) {
    .section-title h2 {
        font-size: 24px;
    }

    .title-line {
        width: 40px;
    }


    .responsive-grid,
    .responsive-grid tbody,
    .responsive-grid tr,
    .responsive-grid td {
        display: block;
        width: 100%;
    }

        .responsive-grid thead {
            display: none;
        }

        .responsive-grid tr {
            border: 1px solid #ddd;
            border-radius: 10px;
            margin-bottom: 12px;
            background: #fff;
            padding: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,.08);
        }

        .responsive-grid td {
            border: none !important;
            position: relative;
            padding-left: 45% !important;
            text-align: left;
            min-height: 35px;
        }

            .responsive-grid td span:before {
                content: attr(data-label);
                position: absolute;
                left: 10px;
                width: 40%;
                font-weight: 600;
                color: #0d6efd;
            }
}

.status-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: all .25s ease;
    border: 1px solid rgba(0,0,0,.04);
}

    .status-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,0,0,.12);
    }

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.status-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.status-count {
    display: inline-block;
    min-width: 18px;
    padding: 2px 6px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.modern-progress {
    margin-top: 15px;
    height: 10px;
    border-radius: 20px;
    background: #edf2f7;
    overflow: hidden;
}

.modern-bar {
    border-radius: 20px;
    background: linear-gradient( 90deg, #2563eb, #7c3aed );
}

.table-auto {
    table-layout: auto !important;
    width: auto !important;
}

    .table-auto td,
    .table-auto th {
        white-space: nowrap;
    }

.history-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    transition: .25s;
}

    .history-card:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,.08);
    }

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.connection-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
}

.device-box {
    flex: 1;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 12px;
    background: #fafafa;
}

.device-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 8px;
}

.core-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #bbb;
}

.core-label {
    color: #666;
    font-size: 13px;
}

.flow-arrow {
    font-size: 28px;
    color: #0d6efd;
    flex-shrink: 0;
}

.history-footer {
    border-top: 1px solid #eee;
    padding-top: 12px;
    text-align: right;
}

.loss-value {
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;
}

@media (max-width:768px) {

    .connection-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .history-footer {
        text-align: left;
    }
}

.connection-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 4px 16px;
    transition: .2s;
    width:auto!important;
}

    .connection-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 5px 18px rgba(13,110,253,.12);
    }

.line1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    flex-wrap: wrap;
}

.line2,
.line3 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.line2 {
    color: #0d6efd;
}

.line3 {
    color: #198754;
}

.date {
    color: #6c757d;
    font-size: 13px;
}

.loss {
    font-weight: 600;
    color: #dc3545;
}

.core-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
    flex-shrink: 0;
}

@media (max-width:768px) {

    .line1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .line2,
    .line3 {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.see-more {
    color: #0d6efd;
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
    text-decoration: none;
}

    .see-more:hover {
        text-decoration: underline;
    }

.full-text {
    margin-left: 8px;
    color: #333;
}

.warnfeatured {
    color: #FFC107;
    font-weight: 700;
    letter-spacing: 0.02em;
    animation: goldPulse 2.8s infinite ease-in-out;
}

@keyframes goldPulse {
    0%, 100% {
        text-shadow: 0 0 2px rgba(255, 193, 7, 0.3);
    }

    50% {
        text-shadow: 0 0 6px rgba(255, 193, 7, 0.8), 0 0 18px rgba(255, 193, 7, 0.4);
    }
}

.modern-scroll-h150 {
    max-height: 150px !important;
    overflow-y: auto;
    overflow-x: hidden;
    /* smooth scroll */
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #FFC107 #FFD700;
}

    /* Chrome, Edge, Safari */
    .modern-scroll-h150::-webkit-scrollbar {
        width: 6px;
    }

    .modern-scroll-h150::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .modern-scroll-h150::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #6366f1, #22c55e);
        border-radius: 10px;
    }

        .modern-scroll-h150::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #4f46e5, #16a34a);
        }



.modern-scroll-h350 {
    max-height: 350px !important;
    overflow-y: auto;
    overflow-x: hidden;
    /* smooth scroll */
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #FFC107 #FFD700;
}

    /* Chrome, Edge, Safari */
    .modern-scroll-h350::-webkit-scrollbar {
        width: 4px;
    }

    .modern-scroll-h350::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .modern-scroll-h350::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #6366f1, #22c55e);
        border-radius: 10px;
    }

        .modern-scroll-h350::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #4f46e5, #16a34a);
        }

.modern-scroll-h450 {
    max-height: 450px !important;
    overflow-y: auto;
    overflow-x: hidden;
    /* smooth scroll */
    scroll-behavior: smooth;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #FFC107 #FFD700;
}

    /* Chrome, Edge, Safari */
    .modern-scroll-h450::-webkit-scrollbar {
        width: 4px;
    }

    .modern-scroll-h450::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 10px;
    }

    .modern-scroll-h450::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #6366f1, #22c55e);
        border-radius: 10px;
    }

        .modern-scroll-h450::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #4f46e5, #16a34a);
        }

.core-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #ced4da;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
/* 🔥 Animated Glow Border */
/* 🔥 Pulse Glow Effect */
.card.featured {
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.0);
    border: 2px solid #25D366;
    animation: pulseGlow 2.5s infinite ease-in-out;
}

.warning-danger {
    border: 2px solid #FFC107;
    animation: alertBlink 1s infinite alternate;
    background: var(--card);
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

@keyframes alertBlink {
    from {
        border-color: #FFC107;
        box-shadow: 0 0 10px #FFC107;
    }

    to {
        border-color: #DC3545;
        box-shadow: 0 0 20px #DC3545;
    }
}
/* Breathing animation */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(37, 211, 102, 0.3), 0 0 10px rgba(37, 211, 102, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.7), 0 0 40px rgba(37, 211, 102, 0.4);
        transform: scale(1.03);
    }

    100% {
        box-shadow: 0 0 5px rgba(37, 211, 102, 0.3), 0 0 10px rgba(37, 211, 102, 0.2);
        transform: scale(1);
    }
}

/* hover boost */
.card.featured:hover {
    animation-duration: 1.5s;
}

.card.warning-danger:hover {
    animation-duration: 1.5s;
}

.text-shrink {
    min-width: 0;
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
