/* ============================================
   arquivo: assets/css/style.css  
   Sistema de Metas FiveM - Estilos
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
}

/* Login Screen */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.cyan {
    color: #00bcd4;
}

.login-box p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 0 3px rgba(0,188,212,0.1);
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00bcd4, #00838f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,188,212,0.3);
}

/* Dashboard */
.dashboard {
    display: none;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dashboard-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
    padding-bottom: 80px; /* Espaço para o footer não cobrir conteúdo */
}

.footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #999;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    border-top: 3px solid #00bcd4;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.footer a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
    color: #5dd5e8;
}

.header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge {
    background: #00bcd4;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
    display: inline-block;
}

.btn-logout {
    background: transparent;
    border: 2px solid #00bcd4;
    color: #00bcd4;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #00bcd4;
    color: white;
}

.nav {
    background: #2d2d2d;
    display: flex;
    border-bottom: 3px solid #00bcd4;
}

.nav button {
    background: none;
    border: none;
    color: white;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.nav button:hover {
    background: rgba(0,188,212,0.1);
}

.nav button.active {
    background: white;
    color: #1a1a1a;
}

.content {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #00bcd4;
}

.stat-card h3 {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #1a1a1a;
}

.stat-value.cyan {
    color: #00bcd4;
}

.table-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #2d2d2d;
    color: white;
}

th, td {
    padding: 15px;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

tbody tr:hover {
    background: #f8f8f8;
}

.btn-add {
    background: linear-gradient(135deg, #00bcd4, #00838f);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-action {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    color: white;
}

.btn-complete {
    background: #00bcd4;
}

.btn-confirm {
    background: #28a745;
}

.btn-delete {
    background: #dc3545;
}

.status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.completed {
    background: #d4f4dd;
    color: #28a745;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00bcd4;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn-cancel {
    padding: 10px 20px;
    background: #e0e0e0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-save {
    padding: 10px 20px;
    background: linear-gradient(135deg, #00bcd4, #00838f);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #00bcd4;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.btn-discord {
    background: #7289da !important;
    color: white;
}

.btn-discord:hover {
    background: #5b6eae !important;
}

.money {
    color: #28a745;
    font-weight: bold;
}

.money.negative {
    color: #dc3545;
}
/* Credits - Para tela de login */
.credits {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}
