/* Base styles for the entire site - Gogeta SSB Theme */
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800;900&family=Nunito:wght@400;600;700;800;900&display=swap");

:root {
    /* Gogeta Super Saiyan Blue Color Palette */
    --gogeta-cyan: #00f0ff;
    --gogeta-blue-light: #f0f9ff;
    --gogeta-blue-sky: #e0f2fe;
    --gogeta-blue-aura: #38bdf8;
    --gogeta-blue-primary: #0284c7;
    --gogeta-blue-deep: #0369a1;
    --gogeta-blue-dark: #075985;
    --gogeta-navy: #0b192c;

    /* Gogeta Metamoran Vest Golden-Orange Palette */
    --gogeta-gold-light: #ffe066;
    --gogeta-gold: #ffb703;
    --gogeta-orange: #fb8500;
    --gogeta-orange-dark: #ea580c;
    --gogeta-orange-burn: #c2410c;

    /* Comic Ink and Contrast */
    --gogeta-ink: #0f172a;
    --gogeta-ink-subtle: #334155;
    --gogeta-border: 3.5px solid #0f172a;
    --gogeta-shadow: 4px 4px 0px #0f172a;
    --gogeta-glow: 0 0 20px rgba(0, 240, 255, 0.4);

    /* General site tokens */
    --primary-color: #0284c7;
    --secondary-color: #fb8500;
    --accent-color: #00f0ff;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --manga-border-color: #0f172a;
    --manga-shadow: 4px 4px 0px #0f172a;

    --body-font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --heading-font: "Baloo 2", "Nunito", sans-serif;
    --comic-font: "Baloo 2", "Nunito", sans-serif;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gogeta-ink);
    background-color: #bae6fd;
    background-image: url("/Assets/images/gogeta_sky_bg.jpg");
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 100% auto;
    background-attachment: fixed;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-buttons .btn,
.auth-buttons .btn-register,
.auth-buttons .btn-login,
.auth-buttons .btn-profile,
.auth-buttons .btn-logout {
    padding: 8px 18px;
    text-decoration: none;
    font-weight: 800;
    font-family: "Nunito", sans-serif;
    border-radius: 10px;
    border: 2px solid var(--gogeta-ink);
    box-shadow: 2px 2px 0 var(--gogeta-ink);
    transition: all 0.2s ease;
    display: inline-block;
}

.auth-buttons .btn-login {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    color: #fff;
}

.auth-buttons .btn-register {
    background: linear-gradient(180deg, #ffe066 0%, #ff9800 100%);
    color: var(--gogeta-ink);
}

.auth-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 3px 4px 0 var(--gogeta-ink);
}

/* Manga Elements */
.manga-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.manga-panel {
    background-color: #ffffff;
    border: var(--gogeta-border);
    border-radius: 16px;
    box-shadow: var(--gogeta-shadow);
    padding: 24px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.manga-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 70%, rgba(2, 132, 199, 0.04) 100%);
    pointer-events: none;
}

/* Global Alert Styles */
.alert {
    padding: 12px 18px;
    border: 2px solid var(--gogeta-ink);
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    box-shadow: 2px 2px 0 var(--gogeta-ink);
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #059669;
}

.alert-danger, .alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #dc2626;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #d97706;
}

.alert-info {
    background: #f0f9ff;
    color: #075985;
    border-color: #0284c7;
}

/* Common Comic Buttons */
.comic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 12px;
    border: 2.5px solid var(--gogeta-ink);
    box-shadow: 3px 3px 0 var(--gogeta-ink);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.comic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 5px 0 var(--gogeta-ink);
}

.comic-btn:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 0 var(--gogeta-ink);
}

.comic-btn-gold {
    background: linear-gradient(180deg, #ffe066 0%, #ff9800 60%, #e65100 100%);
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.comic-btn-blue, .comic-btn.primary, .comic-btn.blue {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 60%, #0369a1 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.comic-btn.success, .comic-btn-success {
    background: linear-gradient(180deg, #34d399 0%, #10b981 60%, #059669 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.comic-btn.danger, .comic-btn-danger {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 60%, #dc2626 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.form-label {
    display: block;
    font-family: var(--heading-font, "Nunito", sans-serif);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--gogeta-ink);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2.5px solid #0f172a;
    border-radius: 10px;
    background-color: #f8fafc;
    font-family: var(--body-font, "Nunito", sans-serif);
    font-size: 14px;
    color: #0f172a;
    outline: none;
    box-shadow: 2px 2px 0 rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #0284c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35), 2px 2px 0 #0f172a;
}

.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* =========================================================
   Universal Table Styles (Clean, Comic-bordered, Pixel-Aligned)
   ========================================================= */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 10px 0;
}

.table, .admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    border: 2.5px solid #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 3px 3px 0 #0f172a;
    font-family: var(--body-font, "Nunito", sans-serif);
    font-size: 14px;
}

.table thead th, .admin-table thead th {
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0f172a;
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 800;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border-bottom: 2.5px solid #0f172a;
    border-right: 1px solid #cbd5e1;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
}

.table thead th:last-child, .admin-table thead th:last-child {
    border-right: none;
}

.table tbody td, .admin-table tbody td {
    padding: 11px 14px;
    border-bottom: 1.5px solid #e2e8f0;
    border-right: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 14px;
    color: #1e293b;
    line-height: 1.4;
}

.table tbody td:last-child, .admin-table tbody td:last-child {
    border-right: none;
}

.table tbody tr:last-child td, .admin-table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:nth-child(even), .admin-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.table tbody tr:hover, .admin-table tbody tr:hover {
    background-color: #f0f9ff;
}

/* Column Alignment Utilities */
.table .col-id, .table td.col-id, .table th.col-id,
.admin-table .col-id, .admin-table td.col-id, .admin-table th.col-id {
    width: 65px;
    text-align: center;
    white-space: nowrap;
}

.table .col-num, .table td.col-num, .table th.col-num,
.admin-table .col-num, .admin-table td.col-num, .admin-table th.col-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.table .col-center, .table td.col-center, .table th.col-center,
.admin-table .col-center, .admin-table td.col-center, .admin-table th.col-center {
    text-align: center;
    white-space: nowrap;
}

/* Status Badges */
.badge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    border: 1.5px solid #0f172a;
    line-height: 1.2;
    white-space: nowrap;
}

.badge-status.yes {
    background: #10b981;
    color: #ffffff;
}

.badge-status.no {
    background: #f1f5f9;
    color: #64748b;
}

.badge-status.danger {
    background: #ef4444;
    color: #ffffff;
}

.badge-status.warning {
    background: #f59e0b;
    color: #ffffff;
}

/* History Table styles (for payment & order logs) */
.history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    border: 2.5px solid #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 3px 3px 0 #0f172a;
    font-family: var(--body-font, "Nunito", sans-serif);
    font-size: 14px;
}

.history-table thead th {
    background: linear-gradient(180deg, #ffe066 0%, #ffb703 100%);
    color: #0f172a;
    font-family: "Baloo 2", "Nunito", sans-serif;
    font-weight: 800;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    border-bottom: 2.5px solid #0f172a;
    border-right: 1px solid #d97706;
    text-align: left;
    white-space: nowrap;
}

.history-table thead th:last-child {
    border-right: none;
}

.history-table tbody td {
    padding: 11px 14px;
    border-bottom: 1.5px solid #f1f5f9;
    border-right: 1px solid #f8fafc;
    vertical-align: middle;
    font-size: 14px;
    color: #1e293b;
    line-height: 1.4;
}

.history-table tbody td:last-child {
    border-right: none;
}

.history-table tbody tr:last-child td {
    border-bottom: none;
}

.history-table tbody tr:nth-child(even) {
    background-color: #fffdf5;
}

.history-table tbody tr:hover {
    background-color: #fef9c3;
}

.history-table .status-success {
    color: #059669;
    font-weight: 800;
}

.history-table .status-pending {
    color: #d97706;
    font-weight: 800;
}

