/* ===== GLOBAL ===== */
body {
    font-family: system-ui, sans-serif;
    background: #f4f6fb;
    margin: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    background: #C41C17;
    color: white;
    padding: 18px 26px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

/* left */
.nav-left {
    justify-self: start;
}

/* center */
.nav-center {
    justify-self: center;
    font-size: 1.2rem;
}

/* right */
.nav-right {
    justify-self: end;
}

.nav-right a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-right a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {

    .navbar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 6px;
    }

    .nav-left,
    .nav-center,
    .nav-right {
        justify-self: center;
    }

}

/* ===== CONTAINER ===== */

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    text-decoration: none;
}

.logo:visited {
    color: white;
}

.logo:hover {
    color: white;
    opacity: 0.85;
}

.back-btn {
    display: inline-block;
    margin: 15px 0;
    padding: 8px 14px;
    background: #C41C17;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.back-btn:hover {
    background: #8c1410;
}

.btn {
    display: inline-block;
    background: #C41C17;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn:hover {
    background: #8c1410;
}

.btn:active {
    transform: scale(0.97);
}

.btn-outline {
    background: transparent;
    color: #C41C17;
    border: 2px solid #c8102e;
}

.btn-outline:hover {
    background: #8c1410;
    color: white;
}

/* ===== PORTAL ===== */
.portal-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    margin-top:20px;
    gap:20px;
}

.portal-title{
    font-size:32px;
    margin-bottom:10px;
}

.primary-btn{
    background:#C41C17;
    color:white;
    padding:14px 28px;
    border-radius:10px;
    font-size:18px;
    font-weight:600;
    text-decoration:none;

    transition:0.2s;
}

.primary-btn:hover{
    background:#8c1410;
}

.manager-text{
    margin-top:10px;
    color:#555;
}

.secondary-btn{
    background:#444;
    color:white;
    padding:10px 20px;
    border-radius:8px;
    text-decoration:none;
}

.secondary-btn:hover{
    background:#222;
}

/* ===== ADMIN ===== */
.sync-card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
    text-align:center;
}

/* ===== PIECES ===== */

h1 {
    margin-top: 20px;
}

h2 {
    margin-top: 15px;
    font-weight: 700;
}

/* sheet block */

ul {
    background: white;
    border-radius: 10px;
    padding: 10px 18px;
    list-style: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

ul:hover {
    transform: translateY(-2px);
    transition: 0.15s;
}

/* rows */

li {
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid #eee;
}

li:last-child {
    border-bottom: none;
}

/* links */

a {
    color: #c8102e;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
