/*====================================================================
    AK Techno Services Ltd
    Microsoft 365 Email Integration Showcase
    Version: 2.0.0

    Enterprise Design System
====================================================================*/


/*====================================================================
    Root Theme
====================================================================*/

:root {

    --bg: #0f172a;
    --surface: #111827;
    --card: #1e293b;
    --border: #334155;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #dc2626;

    --text: #f8fafc;
    --muted: #94a3b8;

    --shadow:
        0 12px 28px rgba(0,0,0,.18);

}


/*====================================================================
    Global
====================================================================*/

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    background: var(--bg);

    color: var(--text);

    font-family: "Segoe UI",
                 Arial,
                 Helvetica,
                 sans-serif;

    min-height: 100vh;

    line-height: 1.6;

}


/*====================================================================
    Typography
====================================================================*/

h1,
h2,
h3,
h4,
h5,
h6 {

    color: white;

    font-weight: 700;

}

p {

    color: white;

}

.small,
.text-muted {

    color: var(--muted) !important;

}

strong {

    font-weight: 600;

}

a {

    color: inherit;

    text-decoration: none;

}

/*====================================================================
    Header
====================================================================*/

.top-navbar {

    background: var(--surface);

    border-bottom: 1px solid var(--border);

    padding: 22px 0;

    margin-bottom: 32px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .20);

}

.top-navbar .container-fluid {

    max-width: 1500px;

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 24px;

}


/*====================================================================
    Branding
====================================================================*/

.brand {

    display: flex;

    align-items: center;

}

.logo {

    height: 72px;

    width: auto;

    margin-right: 22px;

}

.company-name {

    color: #ef4444;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 2px;

}

.application-name {

    font-size: 38px;

    line-height: 1.1;

    font-weight: 700;

    color: white;

    margin-bottom: 4px;

}

.application-subtitle {

    color: var(--muted);

    font-size: 16px;

    font-weight: 400;

}


/*====================================================================
    Version Badge
====================================================================*/

.version-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: white;

    padding: 10px 18px;

    border-radius: 12px;

    font-weight: 700;

    font-size: .95rem;

    min-width: 90px;

    box-shadow:

        0 8px 20px rgba(37,99,235,.30);

}


/*====================================================================
    Main Layout
====================================================================*/

.container {

    max-width: 1320px;

}


/*====================================================================
    Card Framework
====================================================================*/

.card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 16px;

    color: white;

    overflow: hidden;

    transition:

        transform .20s ease,

        box-shadow .20s ease,

        border-color .20s ease;

}

.card:hover {

    transform: translateY(-3px);

    border-color: #475569;

    box-shadow: var(--shadow);

}

.card-header {

    background: var(--surface);

    border-bottom: 1px solid var(--border);

    color: white;

    font-size: 1rem;

    font-weight: 700;

    padding: 16px 22px;

    letter-spacing: .3px;

}

.card-body {

    padding: 22px;

}

.card hr {

    border-color: rgba(255,255,255,.08);

    margin: 18px 0;

}

/*====================================================================
    Buttons
====================================================================*/

.btn {

    border-radius: 10px;

    padding: 10px 22px;

    font-weight: 600;

    transition: all .20s ease;

    box-shadow: none;

}

.btn-primary {

    background: #16a34a;

    border: none;

    color: white;

}

.btn-primary:hover {

    background: #15803d;

    transform: translateY(-1px);

}

.btn-success {

    background: var(--primary);

    border: none;

    color: white;

}

.btn-success:hover {

    background: var(--primary-hover);

    transform: translateY(-1px);

}

.btn-secondary {

    background: #475569;

    border: none;

    color: white;

}

.btn-secondary:hover {

    background: #334155;

    color: white;

}


/*====================================================================
    Forms
====================================================================*/

.form-control {

    background: #0f172a;

    border: 1px solid var(--border);

    color: white;

}

.form-control:focus {

    background: #0f172a;

    color: white;

    border-color: var(--primary);

    box-shadow: 0 0 0 .15rem rgba(37,99,235,.20);

}

.form-label {

    font-weight: 600;

    color: #e2e8f0;

}


/*====================================================================
    Badges
====================================================================*/

.badge {

    border-radius: 999px;

    padding: .55rem .9rem;

    font-size: .82rem;

    font-weight: 600;

}

.bg-success {

    background: var(--success) !important;

}

.bg-warning {

    background: var(--warning) !important;

}

.bg-danger {

    background: var(--danger) !important;

}

.bg-primary {

    background: var(--primary) !important;

}


/*====================================================================
    Alerts
====================================================================*/

.alert {

    border-radius: 14px;

    border-width: 1px;

}

.alert-primary {

    background: rgba(37,99,235,.12);

    border-color: var(--primary);

    color: white;

}

.alert-success {

    background: rgba(34,197,94,.12);

    border-color: var(--success);

    color: white;

}

.alert-danger {

    background: rgba(220,38,38,.14);

    border-color: var(--danger);

    color: white;

}


/*====================================================================
    Lists
====================================================================*/

.list-unstyled {

    margin-bottom: 0;

}

.list-unstyled li {

    padding: .45rem 0;

    border-bottom: 1px solid rgba(255,255,255,.05);

}

.list-unstyled li:last-child {

    border-bottom: none;

}


/*====================================================================
    Footer
====================================================================*/

footer {

    margin-top: 55px;

    padding: 24px 0;

    border-top: 1px solid var(--border);

    color: var(--muted);

}

footer .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.footer-left {

    color: var(--muted);

}

.footer-centre {

    color: #60a5fa;

    font-weight: 700;

}

.footer-right {

    color: var(--muted);

}


/*====================================================================
    Scrollbar
====================================================================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: var(--bg);

}

::-webkit-scrollbar-thumb {

    background: #475569;

    border-radius: 999px;

}

::-webkit-scrollbar-thumb:hover {

    background: #64748b;

}


/*====================================================================
    Responsive
====================================================================*/

@media (max-width: 992px) {

    .top-navbar .container-fluid {

        flex-direction: column;

        gap: 20px;

        text-align: center;

    }

    .brand {

        flex-direction: column;

    }

    .logo {

        margin-right: 0;

        margin-bottom: 16px;

    }

    .application-name {

        font-size: 30px;

    }

    footer .container {

        flex-direction: column;

        gap: 10px;

        text-align: center;

    }

}


@media (max-width: 768px) {

    .card-body {

        padding: 18px;

    }

    .application-name {

        font-size: 26px;

    }

    .application-subtitle {

        font-size: 14px;

    }

    .btn {

        width: 100%;

        margin-bottom: 10px;

    }

}