/* ============================================================
   MONVETRA SHARES — LAYOUT / GLOBAL STYLES
   Extracted from homeheader.blade.php
   ============================================================ */

:root {
    --apex-primary: #0B1F3A;
    --apex-secondary: #1A3A6B;
    --apex-accent: #4A7FC7;
    --apex-accent-dark: #35619E;
    --apex-light: #EEF3FB;
    --apex-white: #FFFFFF;
    --apex-text: #1A1A2E;
    --apex-gray: #6B7280;
    --apex-border: #E5E7EB;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--apex-text);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* ===== NAVBAR ===== */
.apex-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: all 0.4s ease;
}

.apex-navbar.scrolled {
    background: rgba(11, 31, 58, 0.97);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
}

.apex-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.apex-navbar .brand-logo-img {
    height: 42px;
    width: auto;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1;
}

.brand-text span {
    color: var(--apex-accent);
    font-weight: 600;
}

.apex-navbar .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}

.apex-navbar .nav-link:hover {
    color: var(--apex-accent) !important;
    background: rgba(74, 127, 199,0.1);
}

.apex-navbar .nav-link.active {
    color: var(--apex-accent) !important;
}

/* ===== SCROLLED NAV — accent text ===== */
.apex-navbar.scrolled .nav-link:not(.nav-btn-signin):not(.nav-btn-signup) {
    color: #4A7FC7 !important;
}

.apex-navbar.scrolled .nav-link:not(.nav-btn-signin):not(.nav-btn-signup):hover {
    color: #fff !important;
    background: rgba(74, 127, 199,0.12);
}

.apex-navbar.scrolled .nav-btn-signin {
    border-color: #4A7FC7 !important;
    color: #4A7FC7 !important;
}

.apex-navbar.scrolled .nav-btn-signin:hover {
    background: rgba(74, 127, 199,0.1) !important;
    color: #fff !important;
}

/* ===== SIGN IN / SIGN UP BUTTONS ===== */
.nav-btn-signin {
    background: transparent !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 7px 18px !important;
    font-weight: 600 !important;
    transition: all 0.25s !important;
}

.nav-btn-signin:hover {
    border-color: var(--apex-accent) !important;
    color: var(--apex-accent) !important;
    background: rgba(74, 127, 199,0.08) !important;
}

.nav-btn-signup {
    background: var(--apex-accent) !important;
    color: var(--apex-primary) !important;
    border-radius: 8px !important;
    padding: 7px 20px !important;
    font-weight: 700 !important;
    border: none !important;
    transition: all 0.25s !important;
}

.nav-btn-signup:hover {
    background: var(--apex-accent-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 127, 199,0.4) !important;
}

.navbar-toggler {
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    padding: 6px 10px;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Mobile nav */
@media (max-width: 991px) {
    .apex-navbar .navbar-collapse {
        background: rgba(11,31,58,0.98);
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
        backdrop-filter: blur(20px);
    }
}

/* ===== GOOGLE TRANSLATE ===== */
#google_translate_element { display: inline-block; }

.goog-te-combo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 0.82rem;
}

.goog-logo-link { display: none !important; }
.tradingview-widget-copyright { display: none !important; }

/* ===== PAGE WRAPPER ===== */
.page-wrapper {
    padding-top: 80px;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--apex-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.preloader .spinner {
    width: 50px; height: 50px;
    border: 4px solid rgba(74, 127, 199,0.3);
    border-top-color: var(--apex-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FOOTER ===== */
.apex-footer {
    background: var(--apex-primary);
    color: rgba(255,255,255,0.75);
}

.apex-footer-top {
    padding: 70px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 14px;
}

.footer-brand-text span { color: var(--apex-accent); }

.apex-footer p {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.62);
    font-weight: 400 !important;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--apex-accent);
}

.footer-links a i {
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.62);
}

.footer-contact-item i {
    color: var(--apex-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--apex-accent);
    color: var(--apex-primary);
    transform: translateY(-2px);
}

.apex-footer-bottom {
    padding: 20px 0;
}

.footer-bottom-text {
    color: rgba(255,255,255,0.45);
    font-size: 0.83rem;
    font-weight: 400 !important;
    margin: 0;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.45);
    font-size: 0.83rem;
    text-decoration: none;
    transition: color 0.2s;
    margin-left: 20px;
}

.footer-bottom-links a:hover { color: var(--apex-accent); }

/* ===== GLOBAL SECTION STYLES ===== */
.section-badge {
    display: inline-block;
    background: rgba(74, 127, 199,0.12);
    color: var(--apex-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
    border: 1px solid rgba(74, 127, 199,0.25);
}

.section-title-apex h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--apex-primary);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-title-apex p {
    color: var(--apex-gray);
    font-size: 1rem;
    max-width: 560px;
    font-weight: 400 !important;
    line-height: 1.7;
}

.section-title-apex.center { text-align: center; }
.section-title-apex.center p { margin-left: auto; margin-right: auto; }

/* ===== LEGACY PRICING CARD HELPERS ===== */
.columns { padding: 10px; }

.price {
    list-style-type: none;
    border: 1px solid var(--apex-border);
    margin: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.price:hover {
    box-shadow: 0 20px 50px rgba(11,31,58,0.12);
    transform: translateY(-4px);
}

.price .header {
    background: var(--apex-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 20px !important;
    font-family: 'Playfair Display', serif;
}

.price li {
    border-bottom: 1px solid var(--apex-border);
    padding: 14px 20px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--apex-text);
    font-weight: 500 !important;
}

.price li:last-child { border-bottom: none; }
.price .grey { background-color: var(--apex-light); }

.button {
    display: inline-block;
    background: var(--apex-accent);
    color: var(--apex-primary) !important;
    padding: 10px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s;
    border: none;
}

.button:hover {
    background: var(--apex-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 127, 199,0.4);
}

@media (max-width: 600px) {
    .columns { width: 100%; }
}

/* ===== ACCOUNT AUTH PAGES ===== */
div.account-div {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0B1F3A 0%, #1A3A6B 100%);
    padding: 40px 20px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px 44px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card .auth-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--apex-primary);
    margin-bottom: 6px;
}

.auth-card .auth-subtitle {
    color: var(--apex-gray);
    font-size: 0.9rem;
    margin-bottom: 28px;
    font-weight: 400 !important;
}

.auth-card .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--apex-primary);
    margin-bottom: 6px;
}

.auth-card .form-control {
    border: 1.5px solid var(--apex-border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #FAFBFF;
}

.auth-card .form-control:focus {
    border-color: var(--apex-accent);
    box-shadow: 0 0 0 3px rgba(74, 127, 199,0.15);
    background: #fff;
}

.auth-card .input-group-text {
    background: var(--apex-light);
    border: 1.5px solid var(--apex-border);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: var(--apex-secondary);
}

.auth-card .input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.auth-card .btn-auth {
    background: var(--apex-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}

.auth-card .btn-auth:hover {
    background: var(--apex-secondary);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(11,31,58,0.3);
}

.auth-card .btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-divider {
    text-align: center;
    color: var(--apex-gray);
    font-size: 0.85rem;
    margin: 18px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--apex-border);
}

.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%; right: 0;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--apex-border);
}

.auth-footer-link {
    text-align: center;
    font-size: 0.88rem;
    color: var(--apex-gray);
    margin-top: 20px;
    font-weight: 400 !important;
}

.auth-footer-link a {
    color: var(--apex-accent-dark);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .auth-card { padding: 36px 24px; }
}

/* ===== MISC UTILITIES ===== */
.text-accent { color: var(--apex-accent) !important; }
.bg-apex-primary { background: var(--apex-primary) !important; }
.bg-apex-accent { background: var(--apex-accent) !important; }
