@import url('fonts.css');

:root {
    --bg-dark: #0f0f1a;
    --bg-card: #16213e;
    --text-light: #eee;
    --text-muted: #aaa;
    --info: #3078bf;
    --success: #30bf30;
    --warning: #bfbf30;
    --error: #bf3030;
    --group-a: #bf3030;
    --group-b: #bf7830;
    --group-c: #bfbf30;
    --group-d: #78bf30;
    --group-e: #30bf30;
    --group-f: #30bf78;
    --group-g: #30bfbf;
    --group-h: #3078bf;
    --group-i: #3030bf;
    --group-j: #7830bf;
    --group-k: #bf30bf;
    --group-l: #bf3078;
    --fifa-green: #3CAC3B;
    --fifa-blue: #2A398D;
    --fifa-red: #E61D25;
    --fifa-lightgray: #D1D4D1;
    --fifa-darkgray: #474A4A;
}

* {
    font-family: 'WC-Regular', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'WC-Regular', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

a {
    cursor: pointer;
}

.text-balanced {
    text-wrap: balance;
}

/* HEADER */
.header {
    background: linear-gradient(0deg, var(--bg-dark), black);
}

.logo {
    height: 8rem;
    padding: 1rem 2rem;
    object-fit: contain;
}

.btn-login,
.btn-logout,
.btn-icon {
    background: transparent;
    color: var(--error);
    border: 2px solid var(--error);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 8px 16px;
    margin-right: 32px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.btn-login:hover,
.btn-logout:hover,
.btn-icon:hover {
    background: var(--error);
    color: #fff;
}

.user-name {
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.navbar-custom {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-link {
    position: relative;
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    min-width: calc(100% / 4);
    padding: 16px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.nav-link:last-child {
    border-right: none;
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link i {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.nav-link.active,
.nav-link.active i {
    color: var(--info);
}

/* MAIN */
.main-content {
    padding: 32px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-light);
}

/* SAVE BUTTON */
.btn-save {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: var(--info);
    color: var(--text-light);
    border: none;
    padding: 16px 32px;
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 8rem;
    display: block;
    z-index: 100;
}

.btn-save:hover {
    background: var(--success);
}

/* ALERTS */
.alert-success,
.alert-error {
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-success {
    background: rgba(0, 255, 128, 0.2);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 0, 0, 0.2);
    color: var(--error);
}

@media (max-width: 768px) {
    .logo {
        height: 8rem;
        padding: 0.5rem 1rem;
        object-fit: contain;
    }

    .btn-logout {
        padding: 8px 16px;
        margin-right: 8px;
    }

    .navbar-custom {
        padding-bottom: 1rem;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 0.6rem;
        min-width: calc(100% / 4);
        border: 0;
    }

    .btn-save {
        width: 50vw;
        margin: auto;
        left: 0;
        right: 0;
    }
}
