﻿/* ============================================
   MASTER.CSS — FULLY SCOPED, NON-CONFLICTING
   --------------------------------------------
   NOTHING in this file will override your pages.
   All master styles use the prefix:
   .master-wrapper ...
   .master-body ...
=============================================== */

/* GLOBAL MASTER VARIABLES */
:root {
    --master-topbar-height: 42px;
    --master-nav-height: 64px;
    --master-blue: #004080;
    --master-blue-light: #0074cc;
    --master-bg: #f7f9fc;
}

/* MASTER BODY SAFE PADDING */
.master-body {
    margin: 0;
    background: var(--master-bg);
    padding-top: calc(var(--master-topbar-height) + var(--master-nav-height));
    font-family: 'Segoe UI', sans-serif !important;
}

/* ============================================
   MASTER WRAPPER (ISOLATION)
=============================================== */
.master-wrapper {
    width: 100%;
    overflow: hidden;
}

/* ============================================
   TOP BAR
=============================================== */
.master-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--master-topbar-height);
    background: #00264d;
    color: #fff;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
}

.master-topbar-left {
    font-size: 14px;
}

.master-btn-login {
    background: #00baff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
}

/* ============================================
   NAVBAR
=============================================== */
.master-navbar {
    position: fixed;
    top: var(--master-topbar-height);
    left: 0;
    right: 0;
    height: var(--master-nav-height);
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    z-index: 1990;
    padding-left: 10px;
    padding-right: 10px;
}

.master-logo {
    height: 36px;
}

.master-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.master-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--master-blue);
}

.master-toggler {
    border: none !important;
}

.master-menu-list .master-link {
    color: var(--master-blue);
    font-weight: 600;
    padding: 8px 12px !important;
}

    .master-menu-list .master-link:hover {
        color: var(--master-blue-light);
    }

/* Dropdown */
.master-dropdown {
    border-radius: 10px;
    padding: 10px 0;
}

    .master-dropdown .dropdown-item:hover {
        background: #e9f2ff;
    }

/* MOBILE NAV FIX */
@media (max-width: 991px) {
    .master-body {
        padding-top: calc(var(--master-topbar-height) + 56px) !important;
    }

    .master-navbar {
        height: auto;
    }

    .master-dropdown {
        position: static;
        border: none;
        box-shadow: none;
    }
}

/* ============================================
   CONTENT AREA
=============================================== */
.master-content-area {
    padding-top: 5px;
}

/* ============================================
   FOOTER
=============================================== */
.master-footer {
    background: linear-gradient(315deg, #00152e 65%, #0077cc 25%, #ffffff 10%);
    color: #00152e;
    padding: 40px 20px 10px;
    margin-top: 40px;
}

.master-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.master-footer-block h3 {
    border-bottom: 2px solid #00c6ff;
    padding-bottom: 5px;
    margin-bottom: 14px;
    font-size: 18px;
}

.master-footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.master-footer-links {
    list-style: none;
    padding: 0;
}

    .master-footer-links li {
        margin-bottom: 8px;
    }

    .master-footer-links a {
        color: #00152e;
        text-decoration: none;
    }

        .master-footer-links a:hover {
            color: #b61515;
        }

.master-footer-input,
.master-footer-textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid #00c6ff;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #fff;
}

.master-footer-btn {
    background: #00c6ff;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    width: 100%;
}

.master-footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.3);
}
.master-shadow {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
/* ============================================
   STRICT SAFETY RULE:
   No selectors without .master- prefix.
   No global styles.
=============================================== */
