/* FRPZOON Unified Modern Blue 3D Theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Poppins:wght@400;700&display=swap');

:root {
    --main-bg: linear-gradient(135deg, #1a2332 0%, #22304a 60%, #2a527d 100%);
    --card-bg: rgba(24, 36, 56, 0.92);
    --card-glass: rgba(36, 56, 88, 0.85);
    --primary: #2986cc;
    --primary-light: #4fc3f7;
    --accent: #7db8e8;
    --white: #f5faff;
    --shadow: 0 8px 32px 0 rgba(30, 60, 120, 0.25), 0 1.5px 8px 0 rgba(41, 134, 204, 0.10);
    --border-radius: 18px;
    --input-bg: rgba(36, 56, 88, 0.7);
    --input-border: #2986cc;
    --input-focus: #4fc3f7;
    --button-bg: linear-gradient(90deg, #2986cc 0%, #4fc3f7 100%);
    --button-hover: linear-gradient(90deg, #4fc3f7 0%, #2986cc 100%);
}

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

html, body {
    min-height: 100vh;
    background: var(--main-bg) !important;
    font-family: 'Montserrat', 'Poppins', Arial, sans-serif !important;
    color: var(--white);
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--main-bg);
    z-index: -2;
}

/* Card/Container */
.auth-container, .dashboard-container, .main-card, .register-box, .login-box {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px 32px;
    margin: 40px auto;
    max-width: 420px;
    width: 100%;
    position: relative;
    border: none;
}

/* Topbar */
.topbar {
    width: 100%;
    background: rgba(24, 36, 56, 0.98);
    box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0;
    position: relative;
    z-index: 10;
}
.topbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 40px;
}
.topbar-logo img {
    height: 44px;
    filter: drop-shadow(0 2px 8px #22304a);
}
.topbar-logo span {
    color: var(--primary-light);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.topbar-nav {
    display: flex;
    gap: 18px;
}
.topbar-link {
    color: var(--white);
    background: none;
    border: none;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
}
.topbar-link:hover, .topbar-link.active {
    background: var(--primary-light);
    color: #1a2332;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: 1px;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px #22304a44;
}
.text-glow {
    color: var(--primary-light) !important;
    text-shadow: 0 2px 12px #2986cc99, 0 1px 0 #22304a;
}

/* Logo */
.logo-glow {
    width: 110px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 18px #2986cc88);
}

/* Inputs */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
    width: 100%;
    padding: 15px 18px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1.5px solid var(--input-border);
    background: var(--input-bg);
    color: var(--white);
    font-size: 1rem;
    font-family: 'Poppins', Arial, sans-serif;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}
input:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px var(--primary-light)33;
}
input::placeholder {
    color: #b3c6e0;
    font-family: 'Poppins', Arial, sans-serif;
}

/* Buttons */
button, .neon-button {
    width: 100%;
    padding: 15px 0;
    border-radius: 30px;
    border: none;
    background: var(--button-bg);
    color: var(--white);
    font-size: 1.1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 18px 0 #2986cc33;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    margin-bottom: 10px;
}
button:hover, .neon-button:hover {
    background: var(--button-hover);
    color: #22304a;
    box-shadow: 0 6px 24px 0 #4fc3f799;
}

/* Table (for dashboard/history) */
table {
    width: 100%;
    color: var(--white);
    border-collapse: collapse;
    margin-bottom: 18px;
}
th, td {
    padding: 12px 8px;
    border-bottom: 1px solid #22304a55;
    text-align: left;
}
th {
    color: var(--primary-light);
    font-weight: 700;
    background: #22304a;
}
tr:last-child td {
    border-bottom: none;
}

/* Footer */
footer {
    background: rgba(24, 36, 56, 0.98);
    color: var(--primary-light);
    text-align: center;
    padding: 18px 0 10px 0;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 40px;
    border-top: 1px solid #22304a55;
    box-shadow: 0 -2px 12px 0 #22304a33;
}

/* Responsive */
@media (max-width: 600px) {
    .auth-container, .dashboard-container, .main-card, .register-box, .login-box {
        padding: 25px 8px;
        margin: 20px 0;
        max-width: 98vw;
    }
    .topbar-logo img { height: 32px; }
    .topbar-logo span { font-size: 1rem; }
    .topbar-nav { gap: 6px; }
    .topbar-link { padding: 7px 10px; font-size: 0.98rem; }
    h1, h2, h3 { font-size: 1.2rem; }
    table { font-size: 14px; }
    th, td { padding: 8px 4px; }
}

