/* ===============================
   GCT CORE STYLE
================================ */
:root {
    --bg: #08111f;
    --bg-soft: #0d1830;
    --card: rgba(14, 24, 48, 0.92);
    --line: rgba(255, 255, 255, 0.08);
    --text: #edf4ff;
    --muted: #94a9c9;
    --primary: #008cff;
    --primary-strong: #0a6ad6;
    --success-bg: rgba(29, 201, 126, 0.15);
    --success-line: rgba(29, 201, 126, 0.4);
    --success-text: #a6f7d2;
    --danger-bg: rgba(242, 94, 94, 0.15);
    --danger-line: rgba(242, 94, 94, 0.4);
    --danger-text: #ffb3b3;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(0, 140, 255, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(0, 140, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #07101d 0%, #091425 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: #b7d8ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    padding: 20px;
}

.container.page {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 140, 255, 0.95), rgba(0, 85, 180, 0.95));
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 140, 255, 0.32);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.card,
.card-soft,
.info-card,
.plan-card {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
}

.card {
    padding: 24px;
}

.card-soft {
    padding: 18px;
}

.section {
    margin-top: 18px;
}

.auth-grid,
.hero-2col,
.grid-2 {
    display: grid;
    gap: 20px;
}

.auth-grid,
.hero-2col {
    grid-template-columns: 360px 1fr;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-side,
.auth-main {
    min-width: 0;
}

.auth-side {
    display: grid;
    gap: 14px;
}

.auth-main h2,
.card h1,
.card h3 {
    margin-top: 0;
}

.small {
    font-size: 14px;
}

.muted {
    color: var(--muted);
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 7px;
    color: #cddaf1;
    font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 15px;
}

input::placeholder,
textarea::placeholder {
    color: #7b8da9;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(0, 140, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.12);
}

textarea {
    resize: vertical;
    min-height: 92px;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 52px;
}

.eye-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #cfe2ff;
    cursor: pointer;
    font-size: 17px;
}

.btn,
.btn-outline,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    padding: 0 18px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    font-size: 14px;
}

.btn:hover,
.btn-outline:hover,
.btn-danger:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn {
    background: linear-gradient(135deg, rgba(0, 140, 255, 0.96), rgba(0, 101, 204, 0.96));
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 140, 255, 0.25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: #dcecff;
    border-color: rgba(0, 140, 255, 0.26);
}

.btn-danger {
    background: rgba(255, 76, 76, 0.18);
    color: #ffd1d1;
    border-color: rgba(255, 76, 76, 0.34);
}

.alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.alert-success {
    background: var(--success-bg);
    border-color: var(--success-line);
    color: var(--success-text);
}

.alert-error {
    background: var(--danger-bg);
    border-color: var(--danger-line);
    color: var(--danger-text);
}

.inline-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.inline-note {
    color: var(--muted);
    font-size: 14px;
}

.plan-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.plan-card {
    padding: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 140, 255, 0.42);
}

.plan-card.selected {
    border-color: rgba(0, 140, 255, 0.68);
    box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.15), var(--shadow);
}

.kv {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px 14px;
}

.kv > div:nth-child(odd) {
    color: var(--muted);
    font-weight: 700;
}

.code-box {
    display: inline-block;
    word-break: break-all;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.sep {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 18px 0;
}

.admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-user-card p {
    margin: 10px 0;
}

@media (max-width: 1100px) {
    .auth-grid,
    .hero-2col,
    .grid-2,
    .admin-grid,
    .plan-card-grid {
        grid-template-columns: 1fr;
    }

    .kv {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   GCT CUSTOM MODIFICATIONS
================================ */

/* 🔵 Glowing Blue Border */
.glowing-border {
    border: 1px solid rgba(0, 140, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 140, 255, 0.4),
                0 0 25px rgba(0, 140, 255, 0.25);
    transition: 0.3s ease;
}

.glowing-border:hover {
    box-shadow: 0 0 18px rgba(0, 140, 255, 0.6),
                0 0 35px rgba(0, 140, 255, 0.35);
}

/* 🟢 Approved / Active */
.status-green {
    background: rgba(29, 201, 126, 0.15);
    border: 1px solid rgba(29, 201, 126, 0.4);
    color: #a6f7d2;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-block;
}

/* 🔴 Pending / Problem */
.status-red {
    background: rgba(242, 94, 94, 0.15);
    border: 1px solid rgba(242, 94, 94, 0.4);
    color: #ffb3b3;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-block;
}

/* 📊 Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* 🧩 Dashboard Cards */
.info-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    transition: 0.2s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 140, 255, 0.4);
}

/* 🟡 Titles inside cards */
.info-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--muted);
}

.info-card .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

/* 📱 Responsive Fix */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
