/* ============================================
   HRMS - "Fusion" Modern UI Design System
   Refactored based on User Request
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Popins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Variables - Design Tokens
   ============================================ */
:root {
    /* Fusion Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --warning-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --danger-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    --info-gradient: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));

    /* Solid Colors */
    --fusion-purple: #7C4DFF;
    --fusion-pink: #FF4081;
    --fusion-orange: #FF9800;
    --fusion-blue: #448AFF;
    --fusion-dark: #2c3e50;
    --fusion-green: #00B09B;

    /* Backgrounds */
    --bg-body: #F4F7FE;
    --bg-card: #FFFFFF;
    --bg-sidebar: #1B1B29;
    --bg-sidebar-active: rgba(255, 255, 255, 0.1);
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Text */
    --text-main: #344767;
    --text-body: #67748E;
    --text-muted: #A0AEC0;
    --text-white: #FFFFFF;

    /* Spacing & Layout */
    --sidebar-width: 270px;
    --header-height: 80px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Shapes */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;

    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(100, 116, 139, 0.08);
    --shadow-md: 0 8px 20px rgba(100, 116, 139, 0.1);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    --shadow-neon: 0 0 10px rgba(124, 77, 255, 0.5), 0 0 20px rgba(124, 77, 255, 0.3);

    /* Neumorphism */
    --neu-flat-light: 5px 5px 10px #d1d9e6, -5px -5px 10px #ffffff;
    --neu-pressed-light: inset 5px 5px 10px #d1d9e6, inset -5px -5px 10px #ffffff;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --trans-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark Mode Variables - Activation Class .dark-mode */
body.dark-mode {
    --bg-body: #111c44;
    --bg-card: #1b2559;
    --bg-sidebar: #0b1437;
    --bg-glass: rgba(27, 37, 89, 0.7);
    --text-main: #FFFFFF;
    --text-body: #a0aec0;
    --text-muted: #718096;
    --shadow-card: 0 20px 27px 0 rgba(0, 0, 0, 0.4);
    --neu-flat-light: 5px 5px 10px #0b1437, -5px -5px 10px #1b2559;
    --neu-pressed-light: inset 5px 5px 10px #0b1437, inset -5px -5px 10px #1b2559;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    font-family: 'Inter', 'Popins', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

/* ============================================
   Animations & Keyframes
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(124, 77, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(124, 77, 255, 0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s var(--trans-smooth) forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* ============================================
   Glassmorphism & Neumorphism Utilities
   ============================================ */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-card {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.neumorphic {
    background: var(--bg-body);
    box-shadow: var(--neu-flat-light);
    border-radius: var(--radius-lg);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ============================================
   Layout
   ============================================ */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - Dark & Sleek */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--trans-smooth);
}

.sidebar-header {
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    margin-bottom: 20px;
}

.auth-logo i {
    font-size: 24px;
    background: linear-gradient(135deg, #FF6B9D, #7C4DFF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 12px;
}

.sidebar-brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #a0aec0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    margin: 24px 0 10px 12px;
    font-weight: 700;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 6px;
    color: #a0aec0;
    transition: var(--trans-smooth);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    margin-right: 10px;
    transition: var(--trans-fast);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(5px);
}

.nav-link.active {
    background: linear-gradient(90deg, #7C4DFF, #667eea);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
}

.nav-link.active i {
    color: #fff;
}

.logout-btn {
    margin: 20px 16px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--trans-fast);
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* Main Content */
.main-content {
    /* flex: 1; Remove flex: 1 to avoid flex behavior issues */
    margin-left: var(--sidebar-width);
    padding: 40px 40px 40px 20px;
    /* Reduced left padding from 40px to 20px */
    transition: var(--trans-smooth);
    width: calc(100% - var(--sidebar-width));
}

/* Fix for nested main-content (Prevent Double Wrapping Issue) */
.main-content .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Headers */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.page-subtitle {
    color: var(--text-body);
    font-size: 1rem;
}

/* ============================================
   Cards & Stats
   ============================================ */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 30px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    position: relative;
    border: none;
    transition: var(--trans-smooth);
    overflow: hidden;
    /* For inner effects */
}

.card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.08);
}

/* 3D Touch Effect on Hover */
.card-3d-hover:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) scale(1.02);
    z-index: 10;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    padding-bottom: 15px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Colorful Stat Cards - Reference Inspired */
.stat-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--trans-bounce);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 160px;
    /* Taller */
}

.stat-card:hover {
    transform: translateY(-8px);
}

/* Decorative Bubbles */
.stat-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.stat-card:nth-child(1) {
    background: linear-gradient(45deg, #FF52E5, #CE93D8);
}

.stat-card:nth-child(2) {
    background: linear-gradient(45deg, #7C4DFF, #448AFF);
}

.stat-card:nth-child(3) {
    background: linear-gradient(45deg, #00B09B, #96C93D);
}

.stat-card:nth-child(4) {
    background: linear-gradient(45deg, #FF9800, #F57C00);
}

.stat-card .stat-icon {
    display: none;
    /* Hide old icons to match reference style clean look, or restyle them */
}

/* Re-use stat content for the new look */
.stat-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-content p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    margin: 0;
}

.stat-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}


/* ============================================
   Buttons & Forms
   ============================================ */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy feeling */
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    transition: var(--trans-fast);
    background: #fff;
    color: var(--text-main);
}

.form-input:focus {
    border-color: #7C4DFF;
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
}

/* ============================================
   Tables
   ============================================ */
.table-responsive {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

/* Row separation */

.table th {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.table td {
    background: #fff;
    padding: 18px 20px;
    vertical-align: middle;
}

.table tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.table tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.table tr {
    box-shadow: var(--shadow-sm);
    transition: var(--trans-fast);
}

.table tr:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.badge-success {
    background: rgba(56, 239, 125, 0.15);
    color: #00b09b;
}

.badge-warning {
    background: rgba(246, 211, 101, 0.15);
    color: #f6d365;
}

.badge-danger {
    background: rgba(255, 65, 108, 0.15);
    color: #ff4b2b;
}

/* Auth Pages */
.auth-container {
    background: radial-gradient(circle at 10% 20%, rgb(90, 70, 155) 0%, rgb(18, 17, 75) 90%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    width: 450px;
    padding: 40px;
    border-radius: var(--radius-xl);
}

.auth-header h1 {
    font-size: 2rem;
    color: #1B1B29;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 270px;
        /* Keep defined width */
        left: 0;
        box-shadow: none;
        /* Shadow handled by active state or overlay */
    }

    .sidebar.active {
        transform: translateX(0) !important;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        /* Ensure above overlay and content */
    }

    .main-content {
        margin-left: 0 !important;
        /* Force override */
        width: 100% !important;
        padding-top: 80px;
        /* Space for burger */
    }

    /* Reset grid columns for mobile */
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Custom Scrollbars
   ============================================ */

/* Global Scrollbar (Optional, for main content) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Sidebar Specific Scrollbar (Dark Theme) */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
    /* Thinner */
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
    /* Seamless integration */
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    /* Subtle thumb */
    border-radius: 20px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
    /* Slightly brighter on hover */
}

/* ============================================
   Sidebar Collapse & Burger Menu - Simplified
   ============================================ */

/* Burger Menu Button */
.burger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: none; /* Hidden on desktop by default */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.burger-menu:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.burger-menu:active {
    transform: scale(0.95);
}

.burger-menu i {
    transition: transform 0.3s ease;
}

.burger-menu.active i {
    transform: rotate(90deg);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Always show burger on mobile */
    .burger-menu {
        display: flex !important;
    }

    /* Sidebar hidden by default on mobile */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    /* Sidebar visible when active */
    .sidebar.active {
        transform: translateX(0) !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    }

    /* Main content full width on mobile */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 85px 15px 30px 15px !important;
    }

    /* Adjust page header for mobile */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .page-title {
        font-size: 1.3rem;
    }

    /* Grid adjustments */
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   Login Page V2 (Refactored)
   ============================================ */
.login-body {
    background: #f0f2f5;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Blobs */
.login-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #667eea;
    opacity: 0.4;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #764ba2;
    opacity: 0.3;
}

.login-card-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card-v2 {
    background: white;
    width: 100%;
    max-width: 900px;
    min-height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    position: relative;
}

.login-illustration {
    flex: 1.2;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    /* Clean subtle light grey */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    border-right: 1px solid #f0f0f0;
}

/* Illustration Mockup using FontAwesome & CSS */
.illustration-container {
    position: relative;
    width: 250px;
    height: 400px;
    background: white;
    border-radius: 30px;
    border: 8px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.illustration-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: #333;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin: 0 50px;
}

.key-icon {
    font-size: 8rem;
    color: #FF9800;
    /* Orange Key */
    transform: rotate(-15deg) translate(20px, 20px);
    filter: drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.1));
    z-index: 10;
}

.login-form-side {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.login-header-v2 {
    text-align: center;
    margin-bottom: 40px;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #95a5a6;
    font-size: 0.95rem;
}

.input-group-v2 {
    position: relative;
    margin-bottom: 25px;
}

.input-group-v2 input {
    width: 100%;
    padding: 16px 20px 16px 45px;
    border: 1px solid #e1e8ef;
    border-radius: 50px;
    /* Pill shape */
    background: #f8fafc;
    font-size: 0.9rem;
    transition: all 0.3s;
    color: #333;
}

.input-group-v2 input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.input-group-v2 i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    transition: 0.3s;
}

.input-group-v2 input:focus+i {
    color: #667eea;
}

.forgot-password {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password a {
    color: #667eea;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-login-v2 {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    background: #2563EB;
    /* Royal Blue */
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-login-v2:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-label {
    text-align: center;
    color: #cbd5e0;
    margin-top: 30px;
    font-size: 0.8rem;
    position: relative;
}

.social-label::before,
.social-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #eee;
}

.social-label::before {
    left: 0;
}

.social-label::after {
    right: 0;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.social-btn.facebook:hover {
    color: #1877f2;
    border-color: #1877f2;
}

.social-btn.google:hover {
    color: #ea4335;
    border-color: #ea4335;
}

.social-btn.linkedin:hover {
    color: #0077b5;
    border-color: #0077b5;
}

@media(max-width: 900px) {
    .login-card-v2 {
        max-width: 500px;
        min-height: auto;
    }

    .login-illustration {
        display: none;
    }
}