/* =====================================================
   COMPONENTS.CSS
   DocShield AI – Premium Enterprise UI Components
   Top 1% Hackathon Winning Glassmorphism System
===================================================== */


/* =====================================================
   GLOBAL GLASS EFFECT
===================================================== */

.glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.10);
    border-radius: 24px;
}


/* =====================================================
   BUTTON SYSTEM
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.95),
        rgba(0, 140, 255, 0.90)
    );
    color: #07111f;
    box-shadow:
        0 12px 30px rgba(0,255,255,0.12);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 40px rgba(0,255,255,0.18);
}

.btn.ghost {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.10);
}

.btn.ghost:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn.large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn.full-width {
    width: 100%;
}


/* =====================================================
   CARD SYSTEM
===================================================== */

.card {
    padding: 28px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.card h3 {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.75;
    margin-bottom: 12px;
}

.card h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.75;
}

.card.highlight {
    background:
        linear-gradient(
            135deg,
            rgba(0,255,255,0.06),
            rgba(0,120,255,0.04)
        );
    border: 1px solid rgba(0,255,255,0.10);
}


/* =====================================================
   FEATURE CARD
===================================================== */

.feature-card {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow:
        0 14px 40px rgba(0,0,0,0.08);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.78;
}


/* =====================================================
   UPLOAD BOX
===================================================== */

.upload-box {
    padding: 40px;
    border-radius: 28px;
    text-align: center;
}

.upload-box h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.upload-box p {
    opacity: 0.75;
    line-height: 1.7;
}

.upload-area {
    margin-top: 30px;
    padding: 50px 30px;
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 24px;
    background: rgba(255,255,255,0.02);
}

.upload-area.drag-active {
    border-color: rgba(0,255,255,0.60);
    background: rgba(0,255,255,0.04);
}

.upload-status {
    margin-top: 24px;
}


/* =====================================================
   TABLE CONTAINER
===================================================== */

.table-container {
    overflow-x: auto;
    border-radius: 24px;
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead th {
    padding: 18px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.85;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

table tbody td {
    padding: 18px;
    font-size: 14px;
    opacity: 0.80;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}


/* =====================================================
   TIMELINE SYSTEM
===================================================== */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.timeline-item span {
    min-width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background:
        linear-gradient(
            135deg,
            rgba(0,255,255,0.15),
            rgba(0,140,255,0.10)
        );
    border: 1px solid rgba(0,255,255,0.10);
}

.timeline-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.7;
}


/* =====================================================
   NOTIFICATION SYSTEM
===================================================== */

.notification {
    position: fixed;
    right: 30px;
    bottom: 30px;
    padding: 18px 24px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 80, 80, 0.95),
            rgba(255, 120, 80, 0.92)
        );
    color: white;
    font-weight: 600;
    z-index: 999;
    box-shadow:
        0 18px 40px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(40px);
    pointer-events: none;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   CHATBOT FLOAT BUTTON
===================================================== */

.chatbot-trigger {
    position: fixed;
    right: 30px;
    bottom: 110px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            rgba(0,255,255,0.95),
            rgba(0,140,255,0.90)
        );
    font-size: 26px;
    cursor: pointer;
    z-index: 999;
    box-shadow:
        0 14px 35px rgba(0,255,255,0.18);
}


/* =====================================================
   SEARCH INPUT
===================================================== */

.nav-search {
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: white;
    min-width: 220px;
    outline: none;
}

.nav-search::placeholder {
    color: rgba(255,255,255,0.55);
}


/* =====================================================
   STATUS BADGES
===================================================== */

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.badge.high {
    background: rgba(255, 80, 80, 0.10);
    border: 1px solid rgba(255,80,80,0.20);
}

.badge.medium {
    background: rgba(255, 180, 80, 0.10);
    border: 1px solid rgba(255,180,80,0.20);
}

.badge.low {
    background: rgba(80, 255, 180, 0.08);
    border: 1px solid rgba(80,255,180,0.18);
}