/* Public Portal Premium UI */
:root {
    --primary: #6C63FF;
    --primary-gradient: linear-gradient(135deg, #6C63FF, #00D4AA);
    --secondary: #00D4AA;
    --bg-dark: #070710;
    --card-bg: rgba(20, 20, 35, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --text-main: #FFFFFF;
    --text-secondary: #94A3B8;
    --success: #10B981;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-uppercase { text-transform: uppercase; letter-spacing: 1px; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 600; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }
.flex-align-center { display: flex; align-items: center; }
.gap-3 { gap: 1rem; }

/* Background Blobs for dynamic feel */
.public-wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(108, 99, 255, 0.4);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 170, 0.2);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 50px) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 600; }

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group { text-align: left; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
}

.form-control::placeholder { color: rgba(255,255,255,0.2); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-lg { padding: 18px 32px; font-size: 1.1rem; border-radius: 14px; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; border-radius: 8px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(108, 99, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(108, 99, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); color: #fff; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: left;
}
.alert-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
}

@media (max-width: 600px) {
    .glass-card { padding: 2rem 1.5rem; }
    h1 { font-size: 2rem; }
}
