
    
/* Modern Theme System with Light/Dark Support */
:root {
    /* Default Theme - Dark */
    --theme-mode: 'dark';
    
    /* Primary Color - Set by Angular */
    --tenant-bg: #6366f1;
    --tenant-text: #ffffff;
    
    /* Dark Theme Colors */
    --bg-dark: #0a0b0f;
    --bg-card-dark: #15171e;
    --bg-section-dark: #111318;
    --bg-input-dark: #1e2129;
    --text-primary-dark: #ffffff;
    --text-secondary-dark: #b4bcd0;
    --text-muted-dark: #8a94b0;
    --border-dark: #2a2d3a;
    
    /* Light Theme Colors */
    --bg-light: #ffffff;
    --bg-card-light: #f8fafc;
    --bg-section-light: #f1f5f9;
    --bg-input-light: #ffffff;
    --text-primary-light: #0f172a;
    --text-secondary-light: #475569;
    --text-muted-light: #64748b;
    --border-light: #e2e8f0;
    
    /* Common Variables */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --success: #10b981;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apply Dark Theme by Default */
:root {
    --bg-color: var(--bg-dark);
    --card-bg: var(--bg-card-dark);
    --section-bg: var(--bg-section-dark);
    --input-bg: var(--bg-input-dark);
    --text-color: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-muted: var(--text-muted-dark);
    --border-color: var(--border-dark);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Light Theme Override */
:root[data-theme="light"] {
    --bg-color: var(--bg-light);
    --card-bg: var(--bg-card-light);
    --section-bg: var(--bg-section-light);
    --input-bg: var(--bg-input-light);
    --text-color: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --text-muted: var(--text-muted-light);
    --border-color: var(--border-light);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
    scroll-behavior: smooth;
      background-color: var(--bg-color);
}


/* Test that theme variables are working */
.theme-test {
    display: none; /* Hide by default, use browser inspector to check */
}
body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    font-weight: 400;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Fixed Header */
.main-header {
    
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 88px;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 35px;
    font-weight: 900;
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--tenant-bg) 85%, white) 0%,
        var(--tenant-bg) 50%,
        color-mix(in srgb, var(--tenant-bg) 85%, black) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Centered Navigation */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    padding: 12px 0;
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.nav-item:hover {
    color: var(--tenant-bg);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--tenant-bg);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

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

/* Header Actions */
.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    white-space: nowrap;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    width: 44px;
    height: 44px;
}

.theme-toggle:hover {
    background: var(--input-bg);
    color: var(--tenant-bg);
    transform: rotate(30deg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 28px;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
}

/* HERO SECTION */
.hero-section {

    padding: 60px 0 100px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-color) 0%, color-mix(in srgb, var(--bg-color) 90%, black) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

:root[data-theme="light"] .hero-section {
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-color) 0%, color-mix(in srgb, var(--bg-color) 90%, white) 100%);
}
.hero-section {
  min-height: 100vh;
  height: auto;
  padding: 80px 0;
}

.hero-container {
  display: flex;
  align-items: flex-start;   /* IMPORTANT */
}

/* LEFT SIDE — stays fixed */
.hero-content {
  flex: 1;
  position: sticky;
  top: 200px;               /* adjust if header exists */
  align-self: flex-start;   /* IMPORTANT */
}

/* RIGHT SIDE — grows */
.hero-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.portal-card-wrapper {
  width: 100%;
}
@media (max-width: 1220px) {
  .hero-content {
  flex: 1;
  position: sticky;
  top: 0px;               /* adjust if header exists */
  align-self: flex-start;   /* IMPORTANT */
  }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(99, 102, 241, 0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(40px) translateX(40px); }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* LEFT SIDE CONTENT */
.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fade-up 1s ease-out;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    animation: slide-in-left 0.8s ease-out 0.2s both;
    letter-spacing: 0.05em;
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h3 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    width: max-content;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-color) 0%, color-mix(in srgb, var(--text-color) 70%, transparent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-reveal 1.2s ease-out 0.4s both;
}

@keyframes title-reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 100%;
    animation: fade-in 1s ease-out 0.6s both;
    letter-spacing: 0.01em;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

:root[data-theme="light"] .social-icons a {
    background: rgba(0, 0, 0, 0.03);
}

.social-icons a:hover {
    cursor: pointer;
    background: var(--tenant-bg);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.signup-text {
    text-align: center;
    color: var(--text-muted);
}

.signup-text a {
    color: var(--tenant-bg);
    font-weight: 500;
    margin-left: 4px;
    cursor: pointer;
    text-decoration: none;
}

.feature-tag {
    color: var(--text-secondary);
}

.signup-text a:hover {
    text-decoration: underline;
}
/* Disabled Button Styling */
.right-side-col-login .btn-primary:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
    color: #d1d5db !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    opacity: 0.7 !important;
}

.right-side-col-login .btn-primary:disabled:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Checkbox Styling for Required Field */
.right-side-col-login .form-check-input:required:invalid {
    border-color: #ef4444 !important;
}

.right-side-col-login .form-check-input:required:valid {
    border-color: #10b981 !important;
}

/* Visual feedback for checkbox */
.right-side-col-login .terms-group {
    position: relative;
    transition: all 0.3s ease;
}

.right-side-col-login .terms-group:has(.form-check-input:not(:checked)) {
    background: rgba(239, 68, 68, 0.05) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    }
}

/* Message when checkbox is unchecked */
.right-side-col-login .terms-group::after {
    content: 'Please accept the terms to continue';
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.right-side-col-login .terms-group:has(.form-check-input:not(:checked))::after {
    opacity: 1;
}

/* Alternative: Show warning icon */
.right-side-col-login .terms-checkbox::before {
    content: '⚠️';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.right-side-col-login .terms-group:has(.form-check-input:not(:checked)) .terms-checkbox::before {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .right-side-col-login .terms-group:has(.form-check-input:not(:checked))::after {
        font-size: 11px;
    }
    
    .right-side-col-login .terms-checkbox::before {
        left: -25px;
        font-size: 14px;
    }
}

/* RIGHT SIDE PORTAL */
.hero-right {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
        margin-top: 50px;
}

.hero-right .logo {
    margin-top: -23px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right .logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
}

.portal-card-wrapper {
    width: 100%;
    max-width: 380px;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    padding-bottom: 0px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: slide-in-right 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 100px;
}

.btn-primary {
    background: var(--tenant-bg);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

:root[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: 120px 0;
    position: relative;
}

.section-alt {
    background: var(--section-bg);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 48px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 72px;
    height: 72px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: var(--tenant-bg);
    margin-bottom: 32px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    background: var(--tenant-bg);
    opacity: 0.2;
    z-index: -1;
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 17px;
    letter-spacing: 0.02em;
}

/* Features Section */
.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 48px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 32px;
    display: inline-block;
    animation: icon-float 3s ease-in-out infinite;
    color: var(--tenant-bg);
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 17px;
    letter-spacing: 0.02em;
}

/* Cross-Broker Stats */
.broker-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 55px;
    margin: 60px auto;
    max-width: 900px;
}

.broker-stat {
    text-align: center;
        width: fit-content;
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.broker-stat:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.broker-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--tenant-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.broker-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Smart Terminal Section */
.terminal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.terminal-feature {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.terminal-feature:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.terminal-feature h4 {
    font-size: 20px;
    margin-top: 24px;
    color: var(--text-color);
}

.terminal-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 12px;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(188deg, var(--bg-color) 0%, color-mix(in srgb, var(--tenant-bg) 10%, var(--bg-color)) 100%);
    border-radius: var(--radius);
    padding: 100px 60px;
    text-align: center;
    margin: 100px auto;
    max-width: 1280px;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: cta-glow 8s ease-in-out infinite;
}

@keyframes cta-glow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

.contact-cta .section-title {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-cta .section-subtitle {
    color: var(--text-secondary);
}

/* Enhanced Footer */
.footer {
    background: var(--section-bg);
    padding: 120px 0 60px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 24px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--tenant-bg) 85%, white) 0%,
        var(--tenant-bg) 50%,
        color-mix(in srgb, var(--tenant-bg) 85%, black) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-about {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    /* gap: 20px; */
    margin-top: 23px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
    letter-spacing: 0.02em;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}
/* Footer Links Styling */
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    padding: 4px 0;
    position: relative;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--tenant-bg);
    transform: translateX(4px);
}

/* Remove underline effect */
.footer-links a::after {
    display: none;
}

/* For light theme specific adjustments */
:root[data-theme="light"] .footer-links a {
    color: var(--text-secondary-light);
}

:root[data-theme="light"] .footer-links a:hover {
    color: var(--tenant-bg);
}

/* For dark theme specific adjustments */
:root[data-theme="dark"] .footer-links a {
    color: var(--text-secondary-dark);
}

:root[data-theme="dark"] .footer-links a:hover {
    cursor: pointer;
    color: var(--tenant-bg);
}

/* Footer bottom links (in the copyright section) */
.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-bottom-links a:hover {
    color: var(--tenant-bg);
    background: rgba(99, 102, 241, 0.1);
}

/* Theme specific for footer bottom links */
:root[data-theme="light"] .footer-bottom-links a {
    color: var(--text-secondary-light);
}

:root[data-theme="light"] .footer-bottom-links a:hover {
    background: rgba(99, 102, 241, 0.08);
}

:root[data-theme="dark"] .footer-bottom-links a {
    color: var(--text-secondary-dark);
}

:root[data-theme="dark"] .footer-bottom-links a:hover {
    background: rgba(99, 102, 241, 0.15);
}

/* Separator in footer bottom links */
.footer-bottom-links span {
    color: var(--text-muted);
    user-select: none;
}

/* Theme specific separator colors */
:root[data-theme="light"] .footer-bottom-links span {
    color: var(--text-muted-light);
}

:root[data-theme="dark"] .footer-bottom-links span {
    color: var(--text-muted-dark);
}

/* Optional: Add a subtle hover effect without underline */
.footer-links a {
    position: relative;
    overflow: hidden;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tenant-bg);
    transition: width 0.3s ease;
    opacity: 0;
}

.footer-links a:hover::before {
    width: 100%;
    opacity: 1;
}

/* Remove the underline on mobile for better touch targets */
@media (max-width: 768px) {
    .footer-links a {
        padding: 8px 0;
        font-size: 15px;
    }
    
    .footer-bottom-links a {
        padding: 6px 10px;
        margin: 0 2px;
    }
    
    /* Remove separator on mobile for horizontal layout */
    .footer-bottom-links {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .footer-bottom-links span {
        margin: 0 4px;
    }
}
.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 20px;
}

.social-icon:hover {
    background: var(--tenant-bg);
    color: white;
    transform: translateY(-6px) rotate(10deg);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.company-address {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* Mobile Actions Menu */
.mobile-actions {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
    background: var(--section-bg);
    border-top: 1px solid var(--border-color);
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 998;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.03);
}

:root[data-theme="light"] .mobile-nav-item {
    background: rgba(0, 0, 0, 0.01);
}

.mobile-nav-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    transform: translateX(8px);
}

.mobile-nav-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.mobile-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Mobile Theme Toggle */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    margin-top: 12px;
    transition: var(--transition);
}

:root[data-theme="light"] .mobile-theme-toggle {
    background: rgba(0, 0, 0, 0.01);
}

.mobile-theme-toggle:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--tenant-bg);
}

/* Portal Card Styles for Login/Signup */
.right-side-col-login .portal-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    backdrop-filter: blur(30px);
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
    transition: all 0.3s ease;
}

.right-side-col-login .card-title {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
        margin-top: 14px;
}

.right-side-col-login .portal-input-group {
    margin-bottom: 28px;
}

.right-side-col-login .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.right-side-col-login .input-icon {
    position: absolute;
    left: 20px;
    color: var(--text-muted);
    z-index: 2;
    font-size: 18px;
}

.right-side-col-login .portal-input {
    width: 100%;
    padding: 22px 32px 22px 60px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-color);
    font-size: 16px;
    transition: var(--transition);
    height: 56px;
    font-family: 'Inter', sans-serif;
}

.right-side-col-login .portal-input:focus {
    border-color: var(--primary);
    background: var(--input-bg);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.right-side-col-login .portal-input::placeholder {
    color: var(--text-muted);
}

.right-side-col-login .toggle-password {
    position: absolute;
    right: 20px;
    cursor: pointer;
    color: var(--text-muted);
    z-index: 2;
    font-size: 18px;
    background: none;
    border: none;
    padding: 8px;
}

.right-side-col-login .toggle-password:hover {
    color: var(--primary);
}

.right-side-col-login .portal-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 14px;
}

.right-side-col-login .remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.right-side-col-login .remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    cursor: pointer;
    transition: var(--transition);
}

.right-side-col-login .remember-me input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.right-side-col-login .forgot-password {
    color: var(--tenant-bg);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.right-side-col-login .forgot-password:hover {
    color: var(--tenant-bg);
    text-decoration: underline;
}

.right-side-col-login .captcha-container {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

.right-side-col-login .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.right-side-col-login .btn {
    padding: 20px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.right-side-col-login .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.right-side-col-login .btn:hover::before {
    left: 100%;
}

.right-side-col-login .btn-primary {
    background: var(--tenant-bg);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.right-side-col-login .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.right-side-col-login .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.right-side-col-login .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.right-side-col-login .portal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.right-side-col-login .portal-divider::before,
.right-side-col-login .portal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.right-side-col-login .portal-divider span {
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.right-side-col-login .portal-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.right-side-col-login .portal-note i {
    color: var(--primary);
}

.right-side-col-login .signup-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.right-side-col-login .signup-link:hover {
    color: var(--tenant-bg);
    text-decoration: underline;
}

/* Signup Form Specific Styles */
.right-side-col-login .info-note {
    background: rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 16px 0 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    color: var(--text-secondary);
}

.right-side-col-login .info-note i {
    color: var(--primary);
    margin-right: 10px;
}

.right-side-col-login .terms-group {
    margin: 24px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.right-side-col-login .terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.right-side-col-login .terms-label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    cursor: pointer;
    flex: 1;
}

.right-side-col-login .terms-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.right-side-col-login .terms-link:hover {
    color: var(--tenant-bg);
    text-decoration: underline;
}

.right-side-col-login .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    cursor: pointer;
    transition: var(--transition);
}

.right-side-col-login .form-check-input:checked {
    background: var(--primary);
    border-color: var(--primary);
}

/* Domain Input */
.domain-input {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    max-width: 100%;
}

.domain-input input {
    flex: 1;
    padding: 22px 32px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    color: var(--text-color);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    letter-spacing: 0.02em;
    outline: none;
}

.domain-input input:focus {
    border-color: var(--primary);
    background: var(--input-bg);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.domain-input input::placeholder {
    color: var(--text-muted);
}
/* Powered By Section Styling */
.powered-by {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* FLDK™ Platform text */
.powered-by b {
    color: var(--tenant-bg);
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(99, 102, 241, 0.2);
}

/* FinfoLab Technologies link */
.powered-by a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0 2px;
}

.powered-by a:hover {
    color: var(--tenant-bg);
    transform: translateY(-1px);
}

/* Optional subtle hover effect without underline */
.powered-by a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--tenant-bg);
    transition: width 0.3s ease;
    opacity: 0;
}

.powered-by a:hover::after {
    width: 100%;
    opacity: 0.5;
}

/* Light theme specific styles */
:root[data-theme="light"] .powered-by {
    color: var(--text-muted-light);
}

:root[data-theme="light"] .powered-by a {
    color: var(--text-secondary-light);
}

:root[data-theme="light"] .powered-by a:hover {
    color: var(--tenant-bg);
}

/* Dark theme specific styles */
:root[data-theme="dark"] .powered-by {
    color: var(--text-muted-dark);
}

:root[data-theme="dark"] .powered-by a {
    color: var(--text-secondary-dark);
}

:root[data-theme="dark"] .powered-by a:hover {
    color: var(--tenant-bg);
}

/* Separator between platform name and company */
.powered-by {
    position: relative;
}

/* Optional: Add a subtle separator line above */
.powered-by::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--border-color);
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .powered-by {
        font-size: 12px;
        margin-top: 16px;
        padding: 0 16px;
    }
    
    .powered-by::before {
        width: 30px;
    }
}

/* Hover effect enhancement */
.powered-by a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.powered-by a:hover {
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}

/* Add subtle icon/arrow on hover (optional) */
.powered-by a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
}

.powered-by a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Or use an external link icon */
.powered-by a[target="_blank"]::after {
    content: '↗';
    font-size: 10px;
    margin-left: 2px;
    opacity: 0.7;
    display: inline-block;
    transform: translateY(-1px);
}

.powered-by a:hover[target="_blank"]::after {
    opacity: 1;
    transform: translateY(-1px) translateX(1px);
}
.domain-suffix {
    padding: 22px 32px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-muted);
    font-size: 18px;
    display: flex;
    align-items: center;
    min-width: 180px;
    justify-content: center;
}

/* CTA Section */
.cta-section-signup {

    text-align: center;
    margin-top: 40px;
}

.cta-link {
    color: var(--tenant-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
}

.cta-link:hover {
    color: var(--tenant-bg);
    gap: 16px;
}

/* Status Alert */
.status-alert {
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.6;
    animation: slide-up 0.4s ease-out;
    display: none;
    color: var(--text-color);
}

.status-alert.show {
    display: block;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1222px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 60px;
        padding: 40px 24px;
    }
    
    .hero-content, .hero-right {
        max-width: 100%;
        width: 100%;
                text-align: -webkit-center;
    }
    
    .hero-content h3 {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 17px;
        margin-left: auto;
        margin-right: auto;
        max-width: 700px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .hero-right {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav-container {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-container {
        padding: 0 24px;
        gap: 50px;
    }
    
    .hero-content h3 {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .portal-card-wrapper {
        padding: 24px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
        padding: 32px 24px;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(20px);
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-actions {
        display: none;
        flex-direction: column;
        padding: 32px 24px;
        background: var(--section-bg);
        border-top: 1px solid var(--border-color);
        position: fixed;
        top: 88px;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        z-index: 998;
    }
    
    .header-content {
        padding: 0 24px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 60px;
    }
    
    .step-card,
    .feature-card {
        padding: 32px 24px;
    }
    
    .domain-input {
        flex-direction: column;
        gap: 16px;
    }
    
    .domain-input input,
    .domain-suffix {
        border-radius: var(--radius);
        width: 100%;
        text-align: center;
    }
    
    .domain-suffix {
        min-width: auto;
    }
    
    .right-side-col-login .portal-card {
        padding: 32px 24px;
        margin: 20px auto;
    }
    
    .right-side-col-login .portal-input {
        padding: 18px 24px 18px 50px;
        height: 52px;
        font-size: 15px;
    }
    
    .right-side-col-login .input-icon {
        left: 16px;
        font-size: 16px;
    }
    
    .right-side-col-login .btn {
        padding: 18px 24px;
        height: 52px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-content h3 {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 10px 20px;
    }
    
    .portal-card-wrapper {
        padding: 20px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .header-content {
        padding: 0 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .step-card,
    .feature-card {
        margin-right: 25px;
        padding: 24px 20px;
    }
    .hero-right .logo {
    margin-top: 0px;}
    .right-side-col-login .portal-card {
        padding: 24px 20px;
        margin: 16px auto;
    }
    
    .right-side-col-login .portal-input {
        padding: 16px 20px 16px 48px;
        height: 48px;
        font-size: 14px;
    }
    
    .right-side-col-login .btn {
        padding: 16px 20px;
        height: 48px;
        font-size: 14px;
    }
    
    .right-side-col-login .card-title {
        font-size: 14px;
    }
}

/* Animation for mobile menu items */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-item {
    animation: slide-in 0.3s ease-out forwards;
    opacity: 0;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(6) { animation-delay: 0.35s; }

/* Minimal Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 3px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    border-top: 3px solid var(--primary);
    border-right: 3px solid transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add this to hide content until app is ready */
.auth {
    
      min-height: 100vh;
     overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.app-ready .auth {
    opacity: 1;
    visibility: visible;
}

.app-ready .preloader {
    opacity: 0;
    visibility: hidden;
}

/* TOOLTIP STYLES - FIXED FOR OVERLAPPING */
.tooltip {
    position: absolute !important;
    z-index: 99999 !important;
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    max-width: 200px;
}

.tooltip.in {
    opacity: 1;
    filter: alpha(opacity=100);
}

.tooltip.top {
    margin-top: -8px !important;
    top: auto !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.tooltip.top .tooltip-arrow {
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: var(--card-bg);
}

.tooltip.bottom {
    margin-top: 8px !important;
    top: 100% !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.tooltip.bottom .tooltip-arrow {
    top: -5px;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: var(--card-bg);
}

.tooltip-inner {
    max-width: 200px;
    padding: 8px 12px;
    color: var(--text-color);
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

/* Animation for tooltip */
.tooltip {
    animation: tooltip-fade-in 0.2s ease-out;
}

@keyframes tooltip-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile responsive tooltips */
@media (max-width: 768px) {
    .tooltip-inner {
        max-width: 180px;
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .tooltip-inner {
        max-width: 160px;
        padding: 5px 8px;
        font-size: 10px;
    }
}

/* Ensure tooltips are above everything */
.tooltip,
.tooltip-inner,
.tooltip-arrow {
    z-index: 999999 !important;
}

/* Modal Theme Styles */
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal.fade.in {
    display: block;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 30px auto;
    max-width: 500px;
    transform: translateY(-50%);
    top: 50%;
}

.modal-content {
    position: relative;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    outline: 0;
    animation: modal-fade-in 0.3s ease-out;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius) var(--radius) 0 0;
    /* display: flex;
    align-items: center; */
    /* justify-content: space-between; */
}

.modal-header.bg-danger {
background: linear-gradient(128deg, #c15a5a 0%, #ab2d2d 100%);
    border-bottom: none;
    color: white;
}

.modal-header.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-bottom: none;
    color: white;
}

.modal-header.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-bottom: none;
    color: white;
}

.modal-icon {
    font-size: 24px;
    margin-right: 12px;
}

.modal-header span {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
}


button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}
.close {
    opacity: 1;
    box-shadow: none;
    outline: none !important;
}
.close {
    float: right;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
}

/* Close Button */
/* .close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
} */

.close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 32px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    text-align: center;
}

/* Modal Footer */
.modal-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 var(--radius) var(--radius);
}

/* Modal Buttons */
.modal-footer .btn {
    min-width: 120px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.modal-footer .btn-danger {
        background: linear-gradient(128deg, #c15a5a 0%, #ab2d2d 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.modal-footer .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.modal-footer .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.modal-footer .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.modal-footer .btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.modal-footer .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Light Theme Specific Modal Styles */
:root[data-theme="light"] .modal.fade.in {
    background: rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] .modal-content {
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

:root[data-theme="light"] .modal-header:not(.bg-danger):not(.bg-success):not(.bg-warning) {
    background: var(--section-bg);
}

:root[data-theme="light"] .modal-body {
    background: var(--card-bg);
}

:root[data-theme="light"] .modal-footer {
    background: none;
}

:root[data-theme="light"] .close {
    color: var(--text-muted);
}

:root[data-theme="light"] .close:hover {
    background: var(--input-bg);
    color: var(--text-color);
}

/* Dark Theme Specific Modal Styles */
:root[data-theme="dark"] .modal.fade.in {
    background: rgba(0, 0, 0, 0.7);
}

:root[data-theme="dark"] .modal-content {
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .modal-header:not(.bg-danger):not(.bg-success):not(.bg-warning) {
    background: rgba(255, 255, 255, 0.05);
}

:root[data-theme="dark"] .modal-body {
    background: var(--card-bg);
}

:root[data-theme="dark"] .modal-footer {
    background: rgba(255, 255, 255, 0.03);
}

:root[data-theme="dark"] .close {
    color: rgba(255, 255, 255, 0.6);
}

:root[data-theme="dark"] .close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .modal-footer {
        padding: 20px;
    }
    
    .modal-footer .btn {
        min-width: 100px;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-body {
        padding: 20px 16px;
        font-size: 15px;
    }
    
    .modal-footer {
        padding: 16px;
    }
    
    .modal-footer .btn {
        min-width: 90px;
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Additional Modal Types */
.modal-content.info-note {
    background: var(--card-bg);
    border-left: 4px solid var(--tenant-bg);
}

.modal-content.info-note .modal-body {
    color: var(--text-secondary);
    text-align: left;
}

/* Confirmation Modal */
.modal-content.confirmation {
    max-width: 400px;
}

.modal-content.confirmation .modal-body {
    padding-bottom: 16px;
}

.modal-content.confirmation .modal-footer {
    justify-content: space-between;
    gap: 12px;
}

.modal-content.confirmation .btn-secondary {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.modal-content.confirmation .btn-secondary:hover {
    border-color: var(--tenant-bg);
    color: var(--tenant-bg);
    background: rgba(99, 102, 241, 0.05);
}

/* Loading Modal */
.modal-content.loading {
    background: transparent;
    border: none;
    box-shadow: none;
}

.modal-content.loading .modal-body {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.modal-content.loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    border-top: 3px solid var(--tenant-bg);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}





/* Reset Password Specific Styles */
.right-side-col-login .password-input-wrapper {
    position: relative;
}

.right-side-col-login .password-input-wrapper .toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    transition: var(--transition);
}

.right-side-col-login .password-input-wrapper .toggle-password:hover {
    color: var(--tenant-bg);
}

.right-side-col-login .back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.03);
}

.right-side-col-login .back-link:hover {
    color: var(--tenant-bg);
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(-4px);
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.password-strength.weak .password-strength-bar {
    background: #ef4444;
    width: 33%;
}

.password-strength.medium .password-strength-bar {
    background: #f59e0b;
    width: 66%;
}

.password-strength.strong .password-strength-bar {
    background: #10b981;
    width: 100%;
}

.password-strength-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: right;
}

/* Focus effects for password fields */
.right-side-col-login input:focus + .toggle-password {
    color: var(--tenant-bg);
}

/* Responsive adjustments for reset password */
@media (max-width: 768px) {
    .right-side-col-login .password-input-wrapper .toggle-password {
        right: 16px;
        font-size: 16px;
    }
    
    .right-side-col-login .back-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .right-side-col-login .password-input-wrapper .toggle-password {
        right: 12px;
        font-size: 14px;
    }
    
    .right-side-col-login .back-link {
        font-size: 13px;
        padding: 4px 10px;
    }
}
/* Password Input Wrapper with Toggle */
.right-side-col-login .password-input-wrapper {
    position: relative;
}

.right-side-col-login .password-input-wrapper .toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    transition: var(--transition);
    z-index: 10;
}

.right-side-col-login .password-input-wrapper .toggle-password:hover {
    color: var(--tenant-bg);
}

.right-side-col-login .password-input-wrapper input:focus + .toggle-password {
    color: var(--tenant-bg);
}

/* Back Link Styling */
.right-side-col-login .back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.03);
}

.right-side-col-login .back-link:hover {
    color: var(--tenant-bg);
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(-4px);
}

/* Loading Indicators */
.right-side-col-login oa-data-loading,
.right-side-col-login fl-data-loading {
    display: block;
    text-align: center;
    margin-top: 16px;
}

/* Error Message Styling */
.right-side-col-login .error-message {
    margin-top: 24px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius);
    color: #ef4444;
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .right-side-col-login .password-input-wrapper .toggle-password {
        right: 16px;
        font-size: 16px;
    }
    
    .right-side-col-login .back-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .right-side-col-login .password-input-wrapper .toggle-password {
        right: 12px;
        font-size: 14px;
    }
    
    .right-side-col-login .back-link {
        font-size: 13px;
        padding: 4px 10px;
    }
}

/* Remove old Bootstrap grid classes styling */
.right-side-col-login .col-sm-12,
.right-side-col-login .col-md-12,
.right-side-col-login .col-xs-12,
.right-side-col-login .col-sm-2,
.right-side-col-login .col-md-2 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    position: static !important;
}



/* Override old button styles */
.right-side-col-login .btn-signin {
    display: none; /* Hide old button */
}

/* Make sure new button shows */
.right-side-col-login .btn-primary {
    display: flex !important;
}

.demo-modal {
    position: fixed;
    inset: 0;
    background: #040406;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* MODAL CARD */
.demo-modal .demo-modal-card {
    /* width: 360px; */
    background: #0f172a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* HEADER */
.demo-modal .demo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #4f46e5;
    color: #fff;
}

.demo-modal .demo-modal-header-title {
    font-size: 14px;
    font-weight: 600;
}

/* CLOSE BUTTON */
.demo-modal .demo-modal-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.demo-modal-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* BODY */
.demo-modal .demo-modal-body {
    padding: 14px;
    overflow-y: auto;
}

/* INPUTS */
.demo-modal-btn.cancel {
    background: #334155;
    color: #e5e7eb;
}

.demo-modal-btn.cancel:hover {
    background: #475569;
}
.demo-modal-input,
.demo-modal-textarea {
    width: 100%;
    background: #020617;
    border: 1px solid #334155;
    color: #e5e7eb;
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

.demo-modal-input:focus,
.demo-modal-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.demo-modal-textarea {
    resize: vertical;
    min-height: 80px;
}

.demo-modal .demo-modal-input::placeholder,
.demo-modal .demo-modal-textarea::placeholder {
    color: #94a3b8;
}
.demo-modal-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
}
/* BUTTON */
.demo-modal .demo-modal-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    height: 34px;
    font-size: 13px;
    border-radius: 20px;
}

/* FORM SPACING */
.demo-modal .form-group {
    margin-bottom: 10px;
}


.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.4s ease-out;
}

.checkmark {
  width: 18px;
  height: 36px;
  border-right: 3px solid #22c55e;
  border-bottom: 3px solid #22c55e;
  transform: rotate(45deg);
  animation: drawCheck 0.35s ease-out forwards;
}

@keyframes scaleIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes drawCheck {
  0% {
    width: 0;
    height: 0;
  }
  100% {
    width: 18px;
    height: 36px;
  }
}
.success-card {
  color: #e5e7eb;
  padding: 36px 28px;
  border-radius: 12px;
  text-align: center;
  background: transparent; /* keep if background already handled */
}

.success-title {
  margin: 0 0 12px 0;
  color: #ffffff;
}

.success-message {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5f5;
  margin: 0 0 18px 0;
}

.success-note {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 26px;
}

.success-btn {
  padding: 10px 28px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
}
.agreement-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15);
}

/* Info icon */
.agreement-info {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.agreement-info i {
  color: #818cf8;
  font-size: 16px;
}

/* Tooltip */
.info-tooltip {
  position: absolute;
  right: 0;
  bottom: 140%;
  background: #020617;
  color: #e5e7eb;
  padding: 10px 14px;
  font-size: 12px;
  border-radius: 8px;
  width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 20;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.info-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 14px;
  border-width: 6px;
  border-style: solid;
  border-color: #020617 transparent transparent transparent;
}

.agreement-info:hover .info-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Agreement content */
.agreement-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.agreement-checkbox {
  margin-top: 3px;
  accent-color: #6366f1;
}

.agreement-text {
  font-size: 14px;
  line-height: 1.6;
  color: #e5e7eb;
}

.agreement-text a {
  color: #818cf8;
  text-decoration: none;
}

.agreement-text a:hover {
  text-decoration: underline;
}
/* SESSION EXPIRED */

.session-expired {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
/* Strength colors */
.text-danger {
    color: #e74c3c; /* Weak */
}

.text-warning {
    color: #f39c12; /* Medium */
}

.text-success {
    color: #27ae60; /* Strong */
}

.passwordstrgmsg{
    position: relative;
    top: -14px;
}
/* Alert message */
 .alert {
            padding: 16px 20px !important;
            border-radius: 12px !important;
            border: 1px solid !important;
            margin-bottom: 16px !important;
            font-size: 15px !important;
            line-height: 1.5 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 12px !important;
            animation: slide-down 0.3s ease-out !important;
            position: relative !important;
            overflow: hidden !important;
        }

         /* Error Alert */
        .alert-danger {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%) !important;
            border-color: rgba(239, 68, 68, 0.4) !important;
            color: #fca5a5 !important;
            box-shadow: 0 8px 25px rgba(239, 68, 68, 0.15) !important;
        }

        .alert-danger::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%) !important;
        }

        /* Success Alert */
        .alert-success {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%) !important;
            border-color: rgba(16, 185, 129, 0.4) !important;
            color: #6ee7b7 !important;
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15) !important;
        }

        .alert-success::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
        }

        /* Warning Alert */
        .alert-warning {
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%) !important;
            border-color: rgba(245, 158, 11, 0.4) !important;
            color: #fcd34d !important;
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15) !important;
        }

        .alert-warning::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
        }

        /* Info Alert */
        .alert-info {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%) !important;
            border-color: rgba(59, 130, 246, 0.4) !important;
            color: #93c5fd !important;
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15) !important;
        }

        .alert-info::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
        }
        button.close {
            -webkit-appearance: none;
            padding: 0;
            cursor: pointer;
            background: transparent;
            border: 0;
        }
        .close {
            opacity: 1;
            box-shadow: none;
            outline: none !important;
        }
        .close {
            float: right;
            font-size: 40px;
            font-weight: bold;
            line-height: 1;
            color: #fff;
        }

        /* Close Button */
        /* .close {
            background: rgba(255, 255, 255, 0.1) !important;
            border: none !important;
            color: var(--text-muted) !important;
            font-size: 24px !important;
            line-height: 1 !important;
            cursor: pointer !important;
            padding: 4px 8px !important;
            border-radius: 6px !important;
            transition: var(--transition) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-width: 32px !important;
            min-height: 32px !important;
            flex-shrink: 0 !important;
        } */

        .close:hover {
            background: rgba(255, 255, 255, 0.2) !important;
            color: var(--text-primary) !important;
            transform: rotate(90deg) !important;
        }

        .alert-danger .close:hover {
            background: rgba(239, 68, 68, 0.2) !important;
            color: #fca5a5 !important;
        }

        .alert-success .close:hover {
            background: rgba(16, 185, 129, 0.2) !important;
            color: #6ee7b7 !important;
        }

        .alert .close {
            float: right;
            font-size: 18px;
            cursor: pointer;
            border: none;
            background: transparent;
            padding: 0;
        }

        .alert-warning .close:hover {
            background: rgba(245, 158, 11, 0.2) !important;
            color: #fcd34d !important;
        }

        .alert-info .close:hover {
            background: rgba(59, 130, 246, 0.2) !important;
            color: #93c5fd !important;
        }

        /* Alert Content */
        .alert .ng-binding {
            flex: 1 !important;
            padding-right: 8px !important;
            font-weight: 500 !important;
            letter-spacing: 0.02em !important;
        }

        /* Alert with Icon */
        .alert.with-icon {
            padding-left: 60px !important;
        }

        .alert.with-icon::before {
            display: none !important;
        }

        .alert {
            margin-top: 32px;
        }

        .alert-icon {
            position: absolute !important;
            left: 20px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            font-size: 20px !important;
        }

        .alert-danger .alert-icon {
            color: #ef4444 !important;
        }

        .alert-success .alert-icon {
            color: #10b981 !important;
        }

        .alert-warning .alert-icon {
            color: #f59e0b !important;
        }

        .alert-info .alert-icon {
            color: #3b82f6 !important;
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .alert {
                padding: 14px 16px !important;
                font-size: 14px !important;
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 10px !important;
            }

            .close {
                align-self: flex-end !important;
                margin-top: -10px !important;
                margin-right: -8px !important;
            }

            .alert .ng-binding {
                padding-right: 0 !important;
            }

            .alert.with-icon {
                padding-left: 50px !important;
            }

            .alert-icon {
                left: 16px !important;
                font-size: 18px !important;
            }
        }

        @media (max-width: 480px) {
            .alert {
                padding: 12px 14px !important;
                font-size: 13px !important;
                border-radius: 10px !important;
            }

            .close {
                font-size: 20px !important;
                min-width: 28px !important;
                min-height: 28px !important;
            }
        }

        /* Animation for alert appearance */
        .alert.ng-enter {
            animation: slide-down 0.3s ease-out !important;
        }

        .alert.ng-leave {
            animation: slide-up 0.3s ease-out !important;
        }

        @keyframes slide-up {
            from {
                opacity: 1;
                transform: translateY(0);
            }

            to {
                opacity: 0;
                transform: translateY(-10px);
            }
        }
        .loading-gif{
            display: flex;
            justify-content: center;
            text-align: center;
        }
        /* Hover effects */
        .alert:hover {
            transform: translateY(-2px) !important;
            transition: transform 0.3s ease !important;
        }
        .activation-txt{
            font-size: xx-large;
        }
        .loading-gif-txt{
            font-size: medium;
        }
            .success-container {
            color: #e5e7eb;
                 margin: 30px;
            border-radius: 12px;
            text-align: center;
        }

        .success-title {
            margin: 0 0 12px 0;
            font-size: 40px;
            color: #ffffff;
        }

        .success-message {
            font-size: 20px;
            line-height: 1.6;
            color: #cbd5f5;
            margin: 0 0 18px 0;
        }

        .success-note {
            font-size: 15px;
            color: #94a3b8;
            margin-bottom: 26px;
        }

        .success-back-btn {
            padding: 10px 28px;
            font-size: 14px;
            text-decoration: none;
            border-radius: 6px;
        }
        .demo-modal-authorization {
        font-size: 13px;
        margin-top: 10px;
        }

        .demo-auth-label {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        cursor: pointer;
        }

        .demo-auth-label input {
        margin-top: 3px;
        }
