﻿/* =========================
   BASE
========================= */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f6f8fb;
    color: #1f2937;
}

/* =========================
   TOP HEADER
========================= */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 25px;
    background: #0f172a;
    color: white;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 38px;
    height: 38px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
}

.title {
    font-weight: 600;
    font-size: 16px;
}

.subtitle {
    font-size: 12px;
    opacity: 0.7;
}

.top-actions a {
    color: #93c5fd;
    margin-right: 15px;
    text-decoration: none;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

    .navbar a {
        text-decoration: none;
        color: #374151;
        font-weight: 500;
        padding: 8px 10px;
        border-radius: 6px;
    }

        .navbar a:hover {
            background: #eef2ff;
            color: #2563eb;
        }

/* =========================
   DROPDOWN
========================= */
.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    display: inline-block;
}

    .nav-link:hover {
        background: #eef2ff;
        color: #2563eb;
    }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

    .dropdown-menu a {
        display: block;
        padding: 10px 12px;
        text-decoration: none;
        color: #374151;
        font-size: 14px;
    }

        .dropdown-menu a:hover {
            background: #f3f4f6;
            color: #2563eb;
        }

.nav-item:hover .dropdown-menu {
    display: block;
}

/* =========================
   CONTENT
========================= */
.content {
    padding: 25px;
    min-height: calc(100vh - 160px);
    background: #f6f8fb;
}

/* =========================
   FOOTER
========================= */
.footer {
    text-align: center;
    padding: 12px;
    font-size: 13px;
    background: white;
    border-top: 1px solid #e5e7eb;
}



.home-container {
    padding: 40px;
    text-align: center;
}

    .home-container h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.manual-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #1f2937;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.2s;
}

    .manual-card:hover {
        transform: translateY(-5px);
        background: #eef2ff;
    }

    .manual-card .icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .manual-card .name {
        font-weight: 600;
    }


.doc-container {
    max-width: 1000px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.doc-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.doc-icon {
    font-size: 28px;
}

.doc-header h1 {
    margin: 0;
    font-size: 22px;
}

.doc-meta {
    font-size: 13px;
    color: #6b7280;
    margin-top: 5px;
}

.doc-body p {
    line-height: 1.7;
    font-size: 15px;
    color: #374151;
    margin: 18px 0;
}

.doc-body img {
    width: 100%;
    border-radius: 10px;
    margin: 10px 0 25px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    background: #f7f9fc;
}

    .coming-soon-container .card {
        background: #fff;
        padding: 40px;
        border-radius: 12px;
        text-align: center;
        max-width: 500px;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .coming-soon-container .icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .coming-soon-container h1 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #1f2937;
    }

.subtitle {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 10px;
}

.message {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-back {
    display: inline-block;
    padding: 10px 20px;
    background: #0d6efd;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}

    .btn-back:hover {
        background: #0b5ed7;
    }

.manual-card {
    position: relative;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
}

/* =========================
   RESPONSIVE FIXES
========================= */

/* Tablet & Mobile */
@media (max-width: 992px) {

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .top-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 5px;
        padding: 10px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    .doc-container {
        padding: 20px;
        margin: 10px;
    }

    .doc-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .doc-header h1 {
            font-size: 18px;
        }

    .logo {
        width: 34px;
        height: 34px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
    }

    .top-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .content {
        padding: 15px;
    }

    .manual-card {
        padding: 18px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .doc-body p {
        font-size: 14px;
    }

    .doc-body img {
        border-radius: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .title {
        font-size: 14px;
    }

    .subtitle {
        font-size: 11px;
    }

    .doc-container {
        padding: 15px;
    }

    .doc-header h1 {
        font-size: 16px;
    }

    .nav-link {
        font-size: 13px;
    }
}