:root {
    --bg-color: #081610;
    --card-bg: #0c231a;
    --card-border: #1a3d2f;
    --accent-gold: #fbbf24;
    --nav-height: 65px;
}

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: #ffffff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -webkit-tap-highlight-color: transparent;
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #051911;
    border-bottom: 1px solid var(--card-border);
    padding: 12px 20px;
}

/* Card */
.app-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
}

/* Form Controls */
.form-control-custom, .form-select-custom {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--card-border) !important;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 8px 12px;
}

.form-select-custom option {
    background-color: #0c231a;
    color: #ffffff;
}

.form-control-custom:focus, .form-select-custom:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 0.25rem rgba(251, 191, 36, 0.2);
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Table */
.table-custom {
    color: #ffffff;
    vertical-align: middle;
    margin-bottom: 0;
    border-color: var(--card-border);
}

.table-custom th {
    background-color: #081a12;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--card-border);
    font-weight: 600;
    padding: 12px 14px;
}

.table-custom td {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--card-border);
    padding: 10px 14px;
}

/* Modal */
.modal-content-custom {
    background-color: #0b2218;
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    color: #ffffff;
}

/* Footer */
.app-footer {
    background-color: #04120c;
    border-top: 1px solid var(--card-border);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 40px;
}

.app-footer strong { 
    color: var(--accent-gold); 
}

/* Bottom Nav Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: #051911;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
    padding: 0 10px;
}

.nav-link-native {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    gap: 2px;
    width: 25%;
    height: 100%;
}

.nav-link-native i {
    font-size: 18px;
    line-height: 1;
}

.nav-link-native.active, 
.nav-link-native:hover {
    color: var(--accent-gold);
}

@media (max-width: 767.98px) {
    body { padding-bottom: calc(var(--nav-height) + 15px); }
    .app-footer { margin-bottom: var(--nav-height); }
}

@media (min-width: 768px) {
    .bottom-nav { display: none !important; }
}