/* FUNDO GLOBAL */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url(/static/img/fifa.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* LOGIN */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: rgba(255,255,255,0.92);
    padding: 40px 35px;
    border-radius: 12px;
    width: 360px;
    text-align: center;
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

.login-container img { width: 180px; }
.login-container input {
    width: 100%;
    padding: 13px;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: #0044cc;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.btn-login:hover { background: #003399; }

/* SIDEBAR */
.sidebar {
    background: rgba(0, 68, 204, 0.90);
    transition: width 0.3s ease;
    color: white;
}

.sidebar .menu-item:hover {
    background: rgba(255,255,255,0.15);
}

/* CONTENT */
.content {
    padding: 25px;
    min-height: calc(100vh - 60px);
}

/* MOBILE */
@media (max-width: 768px) {
    body { background-attachment: scroll; }

    .login-container {
        width: 90%;
        padding: 30px 25px;
    }

    .sidebar {
        width: 0 !important;
        opacity: 0;
    }

    .sidebar.collapsed {
        width: 180px !important;
        opacity: 1;
    }

    .content,
    .content.collapsed {
        margin-left: 0 !important;
        padding: 15px;
    }
}

/* TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar { width: 200px; }
    .content { margin-left: 200px; }
}

/* WIDESCREEN */
@media (min-width: 1600px) {
    .content {
        padding: 40px;
        font-size: 18px;
    }
}

.page-header {
    margin-bottom: 25px;
}
.page-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
}
.page-header .subtitle {
    color: #666;
    font-size: 14px;
}

.card-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px #0001;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.small {
    max-width: 250px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    height: 42px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.button-group {
    display: flex;
    align-items: flex-end;
}

.btn-primary,
.btn-success,
.btn-secondary {
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    color: white;
}

.btn-primary { background: #0044cc; }
.btn-success { background: #28a745; }
.btn-secondary { background: #6c757d; }

.full-btn {
    width: 100%;
    margin-top: 10px;
}

.table-area {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #fafafa;
}

.info-bar {
    background: white;
    color: #333;
    margin-top: 25px;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    border-left: 5px solid #0044cc;
}