﻿/* wwwroot/css/GBL/layout.css */

*, *::before, *::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #0e0e0f;
    color: #e8e4dc;
    font-family: 'DM Sans', sans-serif;
}

.main-wrapper {
    padding-top: 60px;
}

.main-content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 1rem 2rem 0;
}
/* Footer */
.site-footer {
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 12px;
    color: #333;
    border-top: 1px solid #1a1a1a;
    margin-top: 0;
}
/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0e0e0f;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2c;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #3a3a3c;
    }
/* ── TOAST GLOBAL ───────────────────────────── */
.cc-toast {
    position: fixed;
    top: 80px;
    right: 24px;
    min-width: 280px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    .cc-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .cc-toast.success {
        background: #0f2a1a;
        border: 1px solid #1e5c38;
        color: #4ade80;
    }

    .cc-toast.error {
        background: #2a0f0f;
        border: 1px solid #5c1e1e;
        color: #ff6b6b;
    }

    .cc-toast.warning {
        background: #2a1f0f;
        border: 1px solid #5c4620;
        color: #fbbf24;
    }

    .cc-toast.info {
        background: #0f1f2a;
        border: 1px solid #1e4c5c;
        color: #60a5fa;
    }

/* ── MOBILE (portrait ≤ 768px) ──────────────── */
@media (max-width: 768px) {

    .main-wrapper {
        padding-top: 96px; /* 52px linha 1 + 44px linha 2 do navbar */
    }

    .main-content {
        padding: 1rem 1rem 0; /* reduz padding lateral em mobile */
    }

    .cc-toast {
        top: 106px; /* acompanha o navbar mais alto */
        right: 12px;
        left: 12px;
        min-width: unset;
        max-width: unset;
    }
}
