/* EALS Painting Website Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-darker: #08080a;
    --bg-dark: #0f1013;
    --bg-card: rgba(22, 23, 27, 0.7);
    --bg-card-hover: rgba(30, 32, 38, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    /* Brand Colors */
    --primary: #38bdf8; /* Light Blue */
    --secondary: #ef4444; /* Vibrant Red */
    --white: #ffffff;
    --text-muted: #94a3b8;
    --text-light: #e2e8f0;
    
    /* Accents & Gradients */
    --gradient-blue-red: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    
    /* Layout Constants */
    --navbar-height: 80px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    background-image: var(--gradient-dark);
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Navbar */
.navbar {
    height: var(--navbar-height);
    background: rgba(8, 8, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
}

.logo span.logo-eals {
    background: var(--gradient-blue-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span.logo-excl {
    color: var(--secondary);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue-red);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--gradient-blue-red);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 30px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
    opacity: 1 !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Page Spacing for fixed Navbar */
main {
    margin-top: var(--navbar-height);
    flex: 1;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 160px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(8, 8, 10, 0.95) 30%, rgba(8, 8, 10, 0.7) 70%, rgba(8, 8, 10, 0.4) 100%),
                linear-gradient(to top, rgba(8, 8, 10, 1) 0%, transparent 40%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-title span {
    background: var(--gradient-blue-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* General Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-blue-red);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-glass-hover);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Glassmorphic Cards & Grid */
.section {
    padding: 100px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-8px);
}

.card:hover::before {
    background: var(--gradient-blue-red);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--secondary);
}

.card-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 15px;
}

/* Portfolio Page & Gallery */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--white);
    color: var(--bg-darker);
    border-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 10px 30px rgba(8, 8, 10, 0.5);
}

.gallery-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: #18191f;
}

.gallery-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

.gallery-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.gallery-tag.simple {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.gallery-tag.decorative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.gallery-item-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.gallery-item-desc {
    color: var(--text-muted);
    font-size: 14px;
}

/* Quote/Estimate Form Page */
.form-container {
    max-width: 650px;
    margin: 40px auto;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 48px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.form-control {
    width: 100%;
    background: rgba(8, 8, 10, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 30px;
}

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--secondary);
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border-color: rgba(56, 189, 248, 0.2);
}

/* Contact Page Grid */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
}

.contact-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 48px;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-title {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--secondary);
}

.contact-details h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.social-links {
    margin-top: 48px;
    display: flex;
    gap: 16px;
}

.social-btn {
    padding: 12px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--white);
    color: var(--bg-darker);
    border-color: var(--white);
    transform: translateY(-2px);
}

.social-btn.tiktok:hover {
    background: #00f2fe;
    color: #000;
    border-color: #00f2fe;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border: none;
}

.social-btn.instagram:hover {
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.social-btn.facebook {
    background: #1877f2;
    color: #fff;
    border: none;
}

.social-btn.facebook:hover {
    background: #166fe5;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.social-btn.mybuilder {
    background: #008489;
    color: #fff;
    border: none;
}

.social-btn.mybuilder:hover {
    background: #006c70;
    box-shadow: 0 4px 15px rgba(0, 132, 137, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

/* Admin Dashboard Styling */
.admin-login {
    max-width: 450px;
    margin: 80px auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 24px;
}

.admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

.admin-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
    color: var(--primary);
    border-color: var(--primary);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-glass);
}

.admin-table th {
    background: rgba(8, 8, 10, 0.4);
    font-weight: 600;
    color: var(--white);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-contacted {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
}

.badge-completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Actions in tables */
.action-forms {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-select-status {
    background: var(--bg-darker);
    border: 1px solid var(--border-glass);
    color: var(--text-light);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-danger-sm {
    background: rgba(239, 68, 68, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger-sm:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Footer styling */
.footer {
    margin-top: auto;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding: 48px 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

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

/* Lightbox Modal (For Gallery items) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 10, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-title {
        font-size: 44px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: var(--bg-darker);
        border-top: 1px solid var(--border-glass);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero {
        padding: 80px 0 100px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .contact-info-panel {
        padding: 32px 24px;
    }
}

/* Premium Login Area Styles */
.login-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--navbar-height) - 150px);
    padding: 60px 24px;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    animation: orbFloat 8s infinite alternate ease-in-out;
}

.glow-1 {
    background: var(--primary);
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.glow-2 {
    background: var(--secondary);
    bottom: 10%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-30px) scale(1.15);
    }
}

.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    background: rgba(15, 16, 19, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.login-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.lock-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: pulseShield 3s infinite ease-in-out;
}

.register-icon-container {
    border-color: rgba(239, 68, 68, 0.25);
}

.lock-icon {
    font-size: 32px;
    background: var(--gradient-blue-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes pulseShield {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(56, 189, 248, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(239, 68, 68, 0.2);
    }
}

.login-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group-premium {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-label {
    font-size: 13px;
    font-weight: 600;
    color: #a1a1aa;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

.input-icon {
    position: absolute;
    left: 18px;
    color: #71717a;
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.premium-input {
    width: 100%;
    background: rgba(8, 8, 10, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px 14px 48px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.premium-input::placeholder {
    color: #52525b;
}

.premium-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(8, 8, 10, 0.8);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15), 
                0 4px 20px rgba(0, 0, 0, 0.25);
}

.premium-input:focus ~ .input-icon {
    color: var(--primary);
}

.password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #71717a;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.password-toggle.active {
    color: var(--primary);
}

.btn-premium {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--gradient-blue-red);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
    transition: var(--transition);
    overflow: hidden;
    margin-top: 10px;
}

.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.btn-premium span,
.btn-premium .button-icon {
    position: relative;
    z-index: 2;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.btn-premium:hover::before {
    opacity: 1;
}

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

.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.register-link {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.register-link:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
        border-radius: 16px;
    }
}
