/*
 * Custom Styles for Alpha Autobot Investment
 * Author: Gemini
 * Version: 2.0 (Light Theme Redesign)
 * Description: A professional, light-themed stylesheet with a dark footer.
*/
/*
 * Custom Styles for Alpha Autobot Investment
 * Author: Gemini
 * Version: 2.4 (Complete Dashboard)
*/

/* --- Root Variables and General Styles --- */
:root {
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --secondary-color: #6c757d;
  --light-bg: #f4f7fa; /* Dashboard background */
  --white-bg: #ffffff;
  --dark-text: #212529;
  --medium-text: #495057;
  --border-color: #e9ecef;
  --footer-bg: #1a1e25;
  --footer-text: #adb5bd;
  --footer-heading: #ffffff;
  --gradient-start: #0d6efd;
  --gradient-end: #054bb9;
  --font-family: 'Poppins', sans-serif;
  --border-radius: 0.5rem;
  --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --transition-speed: 0.3s;
}
/* ... (your other existing general styles for the main site) ... */


/* --------------------------------------------------------------
# Professional Dashboard Layout
-------------------------------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    grid-template-rows: 70px 1fr;
    grid-template-areas:
        "sidebar header"
        "sidebar main";
    height: 100vh;
    background-color: var(--light-bg);
}

/* Sidebar Styles */
.dashboard-sidebar {
    grid-area: sidebar;
    background-color: var(--white-bg);
    padding: 1.5rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.dashboard-sidebar .sidebar-logo {
    display: block;
    text-align: center;
    margin-bottom: 2.5rem;
}
.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    color: var(--medium-text);
    font-weight: 500;
}
.sidebar-nav .nav-link:hover {
    background-color: var(--light-bg);
    color: var(--dark-text);
}
.sidebar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: var(--white-bg);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}
.sidebar-nav .nav-link i {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
}
.sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* App Header Styles */
.dashboard-app-header {
    grid-area: header;
    background-color: var(--white-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.profile-dropdown img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-dropdown .dropdown-toggle::after { display: none; }
.profile-dropdown .nav-link { display: flex; align-items: center; gap: 0.75rem; }


/* Main Content Styles */
.dashboard-main {
    grid-area: main;
    padding: 2.5rem;
    overflow-y: auto;
}
.dashboard-header {
    margin-bottom: 2rem;
}

/* Stat Card Styles */
.stat-card {
    background-color: var(--white-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}
.stat-card .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}
.icon-circle.bg-primary-light { background-color: #e7f0fe; color: #0d6efd; }
.icon-circle.bg-success-light { background-color: #d1e7dd; color: #198754; }
.icon-circle.bg-warning-light { background-color: #fff3cd; color: #ffc107; }
.icon-circle.bg-danger-light { background-color: #f8d7da; color: #dc3545; }
.stat-card h6 {
    font-size: 0.9rem;
    color: var(--medium-text);
    margin: 0;
}
.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

/* General Custom Card Styles */
.custom-card {
    background-color: var(--white-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.custom-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    padding: 1rem 1.25rem;
}
.custom-card .card-body {
    padding: 1.25rem;
}

.table-hover tbody tr:hover {
    background-color: var(--light-bg);
}

.badge.rounded-pill {
    padding: 0.4em 0.8em;
    font-weight: 500;
}
.bg-success-light { background-color: #d1e7dd !important; }
.bg-warning-light { background-color: #fff3cd !important; }
.bg-danger-light { background-color: #f8d7da !important; }

/* Mobile responsive dashboard */
@media (max-width: 991.98px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 60px 1fr; /* Smaller header on mobile */
        grid-template-areas: "header" "main";
    }
    .dashboard-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100%;
        z-index: 1040;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }
    .dashboard-sidebar.active {
        left: 0;
    }
    .dashboard-app-header {
        padding: 0 1rem;
    }
    #sidebar-toggler {
        display: block !important;
    }
    .dashboard-main {
        padding: 1.5rem;
    }
}

/* Styles for AI Assistant */
.assistant-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-image: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
    z-index: 1050;
    transition: transform 0.3s ease;
}
.assistant-fab:hover { transform: scale(1.1); }

.chat-modal {
    display: none;
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 380px;
    max-width: 90vw;
    height: 500px;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1040;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: bottom right;
}
.chat-modal.active { display: flex; transform: scale(1); opacity: 1; }
.chat-header {
    padding: 1rem; background-color: var(--primary-color); color: white;
    display: flex; align-items: center;
}
.chat-header h6 { color: white; margin: 0; }
.chat-header .robot-icon { font-size: 1.5rem; margin-right: 0.75rem; }
.chat-body { flex-grow: 1; padding: 1rem; overflow-y: auto; }
.chat-message { display: flex; margin-bottom: 1rem; max-width: 90%; }
.chat-message .avatar {
    width: 35px; height: 35px; border-radius: 50%; background-color: var(--light-bg);
    display: flex; align-items: center; justify-content: center; margin-right: 0.75rem;
}
.chat-message .message-content { background-color: var(--light-bg); padding: 0.75rem; border-radius: var(--border-radius); }
.chat-message.user { margin-left: auto; flex-direction: row-reverse; }
.chat-message.user .avatar { margin-left: 0.75rem; margin-right: 0; }
.chat-message.user .message-content { background-color: var(--primary-color); color: white; }
.chat-footer { padding: 1rem; border-top: 1px solid var(--border-color); }

/* --------------------------------------------------------------
# Google Fonts & Root Variables
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Light Theme Palette */
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --secondary-color: #6c757d;
  --light-bg: #f8f9fa; /* Body background */
  --white-bg: #ffffff;  /* Card and surface background */
  --dark-text: #212529;
  --medium-text: #495057;
  --border-color: #dee2e6;

  /* Dark Footer Palette */
  --footer-bg: #1a1e25;
  --footer-text: #adb5bd;
  --footer-heading: #ffffff;
  --footer-border: rgba(255, 255, 255, 0.1);

  /* General Variables */
  --gradient-start: #0d6efd;
  --gradient-end: #054bb9;
  --font-family: 'Poppins', sans-serif;
  --border-radius: 0.5rem;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  --transition-speed: 0.3s;
}

/* --------------------------------------------------------------
# General Styles & Resets
-------------------------------------------------------------- */
body {
  font-family: var(--font-family);
  background-color: var(--light-bg);
  color: var(--medium-text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--dark-text);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-hover);
}

html {
  scroll-behavior: smooth;
  padding-top: 70px; /* Offset for fixed header */
}

/* --------------------------------------------------------------
# Preloader
-------------------------------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--white-bg); /* Use white for preloader */
}

#preloader .spinner-border {
  width: 3.5rem;
  height: 3.5rem;
}

/* --------------------------------------------------------------
# Header / Navbar
-------------------------------------------------------------- */
#header .navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

#header.header-scrolled .navbar {
    background-color: var(--white-bg);
    box-shadow: var(--box-shadow);
}

.navbar-brand span {
  color: var(--dark-text);
}

.nav-link {
  color: var(--medium-text);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  visibility: hidden;
  transition: all var(--transition-speed) ease-in-out;
}

.nav-link:hover::before,
.nav-link.active::before {
  visibility: visible;
  width: 25px;
}

.btn-gradient {
  background-image: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
  border: none;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(13, 110, 253, 0.4);
  color: #fff;
}

.dropdown-menu {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--medium-text);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}

.dropdown-item:hover, .dropdown-item:focus {
    color: var(--primary-color);
    background-color: #e9ecef;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------
# Authentication Forms
-------------------------------------------------------------- */
.auth-container {
    max-width: 480px;
    margin: 4rem auto;
    background-color: var(--white-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.auth-container .form-control {
    background-color: var(--light-bg);
    border-color: #ced4da;
}
.auth-container .form-control:focus {
    background-color: var(--white-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* --------------------------------------------------------------
# Footer (Dark Theme)
-------------------------------------------------------------- */
#main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px 0;
    margin-top: 60px;
    font-size: 0.9rem;
    border-top: 5px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

#main-footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--footer-heading);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

#main-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul a {
    color: var(--footer-text);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-column ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--footer-text);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom .disclaimer {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 10px;
}
/* --------------------------------------------------------------
# Professional Authentication Page Layout
-------------------------------------------------------------- */
.auth-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    max-width: 1100px;
    margin: 4rem auto;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden; /* Important for border-radius */
}

.auth-brand-panel {
    padding: 3rem;
    background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand-panel .brand-logo img {
    max-width: 80px;
    margin-bottom: 1.5rem;
}

.auth-brand-panel h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-brand-panel .features-list {
    list-style: none;
    padding: 0;
}

.auth-brand-panel .features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.auth-brand-panel .features-list i {
    font-size: 1.5rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.auth-form-panel {
    padding: 3rem;
}

/* Input with Icons */
.input-group-icon {
    position: relative;
}

.input-group-icon .form-control {
    padding-left: 2.75rem;
}

.input-group-icon .form-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--secondary-color);
    transition: color var(--transition-speed) ease;
}

.input-group-icon .form-control:focus + .form-icon {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .auth-wrapper {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    .auth-brand-panel {
        display: none; /* Hide the brand panel on mobile for a cleaner form */
    }
    .auth-form-panel {
        padding: 2rem;
    }
}
/* --------------------------------------------------------------
# Professional Authentication Page Layout
-------------------------------------------------------------- */
.auth-wrapper {
    display: grid;
    grid-template-columns: 40% 60%;
    max-width: 1100px;
    margin: 4rem auto;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden; /* Important for border-radius */
}

.auth-brand-panel {
    padding: 3rem;
    background-image: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand-panel .brand-logo img {
    max-width: 80px;
    margin-bottom: 1.5rem;
}

.auth-brand-panel h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-brand-panel .features-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.auth-brand-panel .features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.auth-brand-panel .features-list i {
    font-size: 1.5rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.auth-form-panel {
    padding: 3rem;
    overflow-y: auto; /* Add scroll for smaller heights */
}

/* Input with Icons */
.input-group-icon {
    position: relative;
}

.input-group-icon .form-control {
    padding-left: 2.75rem;
}

.input-group-icon .form-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--secondary-color);
    transition: color var(--transition-speed) ease;
}

.input-group-icon .form-control:focus + .form-icon {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .auth-wrapper {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        margin-top: 2rem;
    }
    .auth-brand-panel {
        display: none; /* Hide the brand panel on mobile for a cleaner form */
    }
    .auth-form-panel {
        padding: 2rem;
    }
}
/* dashboard.php styles */
.dashboard .kpi-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: .75rem;
  color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform .2s;
}
.dashboard .kpi-card:hover {
  transform: translateY(-5px);
}
.kpi-card i {
  font-size: 2.5rem;
  opacity: .8;
}
.kpi-info small {
  display: block;
  opacity: .8;
}
.kpi-info h4 {
  margin: .25rem 0 0;
  font-size: 1.5rem;
}

/* Gradients */
.gradient-blue   { background: linear-gradient(135deg,#4e54c8,#8f94fb); }
.gradient-red    { background: linear-gradient(135deg,#ff4b5c,#ff8177); }
.gradient-green  { background: linear-gradient(135deg,#28c76f,#9fdf9f); }
.gradient-purple { background: linear-gradient(135deg,#9068be,#b084cc); }

/* Balance chart card */
.card-header {
  font-weight: 600;
  font-size: 1.1rem;
}
/* ========== Preloader (blue ellipses) ========== */
#preloader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 80px;
  height: 80px;
}
.loader .dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  background: #2196f3;
  border-radius: 50%;
  transform-origin: -24px 0;
  animation: rotate-dot 1.2s linear infinite;
  animation-delay: calc(var(--i) * -0.1s);
}

@keyframes rotate-dot {
  0%   { transform: rotate(0deg) translateX(32px) scale(1); }
  50%  { transform: rotate(180deg) translateX(32px) scale(0.6); }
  100% { transform: rotate(360deg) translateX(32px) scale(1); }
}
/* assets/css/auth.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --light-bg: #f4f7fa;
    --white-bg: #ffffff;
    --dark-text: #1e293b;
    --medium-text: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --font-family: 'Poppins', sans-serif;
    --border-radius: 1rem; /* 16px */
}

body.auth-body {
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.auth-container {
    width: 100%;
    max-width: 1100px;
    margin: 2rem 2;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    background-color: var(--white-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    min-height: 700px;
}

/* Brand Panel (Left Side) */
.auth-brand-panel {
    padding: 3.5rem;
    color: #fff;
    background: url('https://www.metahorizon.com/wp-content/uploads/2022/11/crypto-trading-bot-1.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.85), rgba(114, 9, 183, 0.85));
}
.auth-brand-content { position: relative; z-index: 2; }
.brand-logo { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: white; margin-bottom: 4rem; }
.brand-logo img { max-width: 50px; }
.brand-logo span { font-size: 1.5rem; font-weight: 700; }
.brand-title { font-size: 2.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
.brand-subtitle { font-size: 1.1rem; opacity: 0.8; }
.features-list { list-style: none; padding: 0; margin-top: 3rem; }
.features-list li { display: flex; align-items: center; margin-bottom: 1.25rem; }
.features-list i { font-size: 1.25rem; margin-right: 1rem; opacity: 0.9; }

/* Form Panel (Right Side) */
.auth-form-panel { padding: 3.5rem; overflow-y: auto; }
.auth-form-panel h3 { font-weight: 700; font-size: 1.8rem; color: var(--dark-text); }
.alert { padding: 1rem; border-radius: 0.5rem; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.form-label { font-weight: 500; color: var(--medium-text); }
.input-group-icon { position: relative; }
.form-control {
    padding: 0.9rem 1rem 0.9rem 2.75rem;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    height: 50px;
    border-radius: 0.5rem;
}
.form-control:focus {
    background-color: var(--white-bg);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}
.form-icon { position: absolute; top: 50%; left: 1rem; transform: translateY(-50%); color: var(--medium-text); }
.forgot-password-link { font-size: 0.9rem; font-weight: 500; }

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
    margin: 1.5rem 0;
}
.or-divider::before, .or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.or-divider span { padding: 0 1rem; }

.auth-link-footer a { font-weight: 600; }

/* Buttons */
.btn { border-radius: 50px; padding: 0.75rem 1.5rem; font-weight: 600; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
@keyframes shimmer-gradient-button {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.btn-primary {
    background: linear-gradient(120deg, #4361ee, #5a74f1, #7209b7, #4361ee);
    background-size: 300% 300%;
    color: white; border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    animation: shimmer-gradient-button 4s ease infinite;
    transition: all 0.4s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4); }
.btn-google { background-color: var(--white-bg); color: var(--dark-text); border: 1px solid var(--border-color); }
.btn-google:hover { background-color: #f8f9fa; }
.btn-google i { color: #DB4437; margin-right: 0.5rem; }

/* Responsive Design */
@media (max-width: 991.98px) {
    .auth-wrapper { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
    .auth-form-panel { padding: 2rem; }
}
