/* ============================================
   TOBOR TECHNOLOGY - AUTHENTICATION STYLES
   File: resources/css/auth.css
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
        
:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #00d4ff;
    --accent: #10b981;
    --dark: #0a0e27;
    --dark-light: #1a1f3a;
    --dark-card: #141829;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, #0a0e27 0%, #000000 100%);
    z-index: -1;
}

.bg-animated::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: drift 25s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-60px, -40px) rotate(5deg); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.logo-text {
    background: linear-gradient(135deg, #ffffff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    padding: 0.75rem 1.75rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--secondary);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-item .icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.stat-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Features Section */
.features {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6), rgba(10, 14, 39, 0.4));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.25);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* Robot Models Section */
.robot-models {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.model-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 102, 255, 0.3);
    border-color: var(--primary);
}

.model-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a1f3a, #0a0e27);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border-bottom: 1px solid var(--border);
}

.model-content {
    padding: 2rem;
}

.model-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.15);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.model-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.model-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.model-features {
    list-style: none;
    margin-bottom: 2rem;
}

.model-features li {
    padding: 0.6rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.model-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.cta-container {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 24px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
    animation: drift 20s ease-in-out infinite;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-container p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: rgba(10, 14, 39, 0.9);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    padding: 0.6rem 0;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .models-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .cta-container h2 { font-size: 2rem; }
}

:root {
    --tobor-primary: #0066ff;
    --tobor-primary-dark: #0052cc;
    --tobor-secondary: #00d4ff;
    --tobor-accent: #10b981;
    --tobor-dark: #0a0e27;
    --tobor-dark-light: #1a1f3a;
    --tobor-dark-card: #141829;
    --tobor-text: #ffffff;
    --tobor-text-muted: #94a3b8;
    --tobor-border: rgba(255, 255, 255, 0.1);
    --tobor-danger: #ef4444;
    --tobor-warning: #f59e0b;
}

/* Global Auth Styles */
body.auth-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--tobor-dark);
    color: var(--tobor-text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, #0a0e27 0%, #000000 100%);
    z-index: -1;
}

.auth-background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: drift 25s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-60px, -40px) rotate(5deg); }
}

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 480px;
}

/* Auth Card */
.auth-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8), rgba(10, 14, 39, 0.6));
    border: 1px solid var(--tobor-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--tobor-primary), var(--tobor-secondary));
}

/* Logo Section */
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}
.logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 0rem;
}
.auth-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.auth-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tobor-primary), var(--tobor-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin: 0;
}

.auth-logo-subtitle {
    font-size: 0.9rem;
    color: var(--tobor-text-muted);
    margin-top: 0.25rem;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--tobor-text);
    margin-bottom: 0.5rem;
}

.auth-description {
    font-size: 0.95rem;
    color: var(--tobor-text-muted);
    line-height: 1.6;
}

/* Form Styles */
.auth-form .form-label {
    color: var(--tobor-text);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.auth-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tobor-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--tobor-text);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.auth-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--tobor-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    color: var(--tobor-text);
}

.auth-form .form-control::placeholder {
    color: var(--tobor-text-muted);
    opacity: 0.6;
}

.auth-form .form-control:disabled {
    background: rgba(255, 255, 255, 0.02);
    color: var(--tobor-text-muted);
    opacity: 0.6;
}

/* Checkbox Styles */
.auth-form .form-check {
    padding-left: 1.75rem;
}

.auth-form .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--tobor-border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-form .form-check-input:checked {
    background-color: var(--tobor-primary);
    border-color: var(--tobor-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.auth-form .form-check-input:focus {
    border-color: var(--tobor-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.auth-form .form-check-label {
    color: var(--tobor-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

/* Error Messages */
.invalid-feedback {
    color: var(--tobor-danger);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.form-control.is-invalid {
    border-color: var(--tobor-danger);
}

.form-control.is-invalid:focus {
    border-color: var(--tobor-danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Alert Messages */
.auth-alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--tobor-accent);
}

.auth-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--tobor-danger);
}

.auth-alert-info {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--tobor-secondary);
}

/* Buttons */
.btn-tobor-primary {
    background: linear-gradient(135deg, var(--tobor-primary), var(--tobor-secondary));
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
    width: 100%;
}

.btn-tobor-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.5);
    color: white;
}

.btn-tobor-primary:active {
    transform: translateY(0);
}

.btn-tobor-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


.btn-tobor-google {
    background: white !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
}

.btn-tobor-google:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-tobor-google svg {
    width: 20px;
    height: 20px;
}

.btn-tobor-secondary {
    background: transparent;
    color: var(--tobor-text);
    border: 2px solid var(--tobor-border);
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    width: 100%;
}

.btn-tobor-secondary:hover {
    border-color: var(--tobor-primary);
    background: rgba(0, 102, 255, 0.1);
    color: var(--tobor-text);
}

/* Links */
.auth-link {
    color: var(--tobor-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.auth-link:hover {
    color: var(--tobor-primary);
    text-decoration: underline;
}

.auth-link-muted {
    color: var(--tobor-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.auth-link-muted:hover {
    color: var(--tobor-secondary);
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.75rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--tobor-border);
}

.auth-divider span {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8), rgba(10, 14, 39, 0.6));
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--tobor-text-muted);
}

/* Footer Section */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tobor-border);
}

.auth-footer-text {
    font-size: 0.9rem;
    color: var(--tobor-text-muted);
    margin: 0;
}

/* Helper Classes */
.text-tobor-muted {
    color: var(--tobor-text-muted) !important;
}

.text-tobor-primary {
    color: var(--tobor-primary) !important;
}

.text-tobor-secondary {
    color: var(--tobor-secondary) !important;
}

.text-tobor-danger {
    color: var(--tobor-danger) !important;
}

.text-tobor-success {
    color: var(--tobor-accent) !important;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-logo-text {
        font-size: 1.5rem;
    }
}

/* Loading Spinner */
.auth-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Password Toggle */
.password-toggle {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--tobor-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.password-toggle-btn:hover {
    color: var(--tobor-secondary);
}

/* Trust Device Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--tobor-accent);
    margin-top: 1rem;
}

.trust-badge-icon {
    width: 16px;
    height: 16px;
}

/* Back to Home Link */
.auth-back-home {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--tobor-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    z-index: 10;
}

.auth-back-home:hover {
    color: var(--tobor-secondary);
    transform: translateX(-4px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .auth-back-home {
        top: 1rem;
        left: 1rem;
        font-size: 0.85rem;
    }
}

/* US Flag Icon for locale indicator */
.locale-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--tobor-text-muted);
    margin-bottom: 1rem;
}

.locale-indicator::before {
    content: '🇺🇸';
    font-size: 1.25rem;
}

/* Security Notice */
.security-notice {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--tobor-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.security-notice-icon {
    color: var(--tobor-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Professional Badge */
.pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tobor-primary), var(--tobor-secondary));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

/* ============================================
   CUSTOM SCROLLBAR - TECHNOLOGY THEME
   ============================================ */

/* Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--tobor-dark);
    border-left: 1px solid var(--tobor-border);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--tobor-primary) 0%, var(--tobor-secondary) 100%);
    border-radius: 6px;
    border: 2px solid var(--tobor-dark);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--tobor-secondary) 0%, var(--tobor-primary) 100%);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: var(--tobor-primary);
}

/* Scrollbar Corner */
::-webkit-scrollbar-corner {
    background: var(--tobor-dark);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--tobor-primary) var(--tobor-dark);
}

/* Scrollbar for Auth Card */
.auth-card::-webkit-scrollbar {
    width: 8px;
}

.auth-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.auth-card::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.6) 0%, rgba(0, 212, 255, 0.6) 100%);
    border-radius: 4px;
    border: 1px solid rgba(10, 14, 39, 0.6);
}

.auth-card::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.8) 0%, rgba(0, 102, 255, 0.8) 100%);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* Glowing Effect on Scroll */
.auth-wrapper::-webkit-scrollbar-thumb {
    position: relative;
}

.auth-wrapper::-webkit-scrollbar-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.3), transparent);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Animated Scrollbar Pulse */
@keyframes scrollbar-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 102, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    }
}

::-webkit-scrollbar-thumb:hover {
    animation: scrollbar-pulse 2s infinite;
}

/* Thin Scrollbar for Mobile */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-thumb {
        border: 1px solid var(--tobor-dark);
    }
}