/* ==========================================================================
   DominaBook Stylesheet - Premium Dark Cyber-Gothic Aesthetic
   ========================================================================== */

:root {
    --bg-color: #08030d;
    --card-bg: rgba(18, 9, 26, 0.7);
    --card-border: rgba(217, 38, 98, 0.15);
    --card-border-active: rgba(217, 38, 98, 0.65);
    
    --accent-red: #d92662;
    --accent-violet: #8e2de2;
    --accent-neon-blue: #00f2fe;
    
    --text-primary: #f5effa;
    --text-secondary: #a89bb8;
    --text-muted: #6f6280;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-header: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

/* Base Reset & Layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Atmosphere */
.radial-glow {
    position: fixed;
    top: -20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.15) 0%, rgba(217, 38, 98, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px);
    background-size: 550px 550px, 350px 350px;
    background-position: 0 0, 40px 60px;
    opacity: 0.05;
    z-index: -2;
    pointer-events: none;
}

/* App Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(8, 3, 13, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.logo-title {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.logo-title span {
    color: var(--accent-red);
    text-shadow: 0 0 15px rgba(217, 38, 98, 0.5);
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.2rem;
}

/* Premium Buttons */
.icon-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.icon-btn:hover {
    background: rgba(217, 38, 98, 0.1);
    border-color: rgba(217, 38, 98, 0.4);
    box-shadow: 0 0 15px rgba(217, 38, 98, 0.2);
    transform: translateY(-1px);
}

.icon-btn i {
    font-size: 0.95rem;
    color: var(--accent-red);
}

/* Main Container */
.main-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    padding: 2rem 2.5rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
    color: #ffffff;
}

.section-title i {
    color: var(--accent-red);
}

/* Form Styling & Radio Grid */
.form-group {
    margin-bottom: 1.8rem;
}

.group-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

/* Action Button */
.action-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-violet) 100%);
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(217, 38, 98, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(217, 38, 98, 0.55);
}

.action-btn:active {
    transform: translateY(1px);
}

.action-btn .btn-icon {
    display: none;
}

.action-btn.loading .btn-icon {
    display: inline-block;
}

/* Dropdown Select */
.dropdown {
    position: relative;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-smooth);
}

.dropdown-toggle:hover {
    border-color: rgba(217, 38, 98, 0.4);
    background: rgba(217, 38, 98, 0.05);
}

.dropdown-toggle .dropdown-selected {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 1;
    min-width: 0;
}

.dropdown-selected-icon {
    font-size: 1.1rem;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dropdown-selected-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(18, 9, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    max-height: 360px;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    padding: 0.4rem;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(217, 38, 98, 0.12);
}

.dropdown-item.active {
    background: rgba(217, 38, 98, 0.2);
    border-left: 3px solid var(--accent-red);
}

.dropdown-item .card-icon {
    font-size: 0.95rem;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 1.3rem;
    justify-content: center;
}

.dropdown-item-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.dropdown-item-text .card-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.dropdown-item-text .card-desc {
    display: none;
}

/* Scrollbar in dropdown menu */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Right Display Panel */
.display-panel {
    position: sticky;
    top: 2rem;
}

.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.display-header .section-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--accent-neon-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge.real {
    background: rgba(217, 38, 98, 0.1);
    border-color: rgba(217, 38, 98, 0.4);
    color: var(--accent-red);
}

/* Canvas Wrapper & States */
.canvas-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.canvas-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: var(--transition-smooth);
}

.canvas-state.active {
    display: flex;
}

/* Idle State */
.idle-graphic {
    font-size: 3.5rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.canvas-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.canvas-state p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
}

/* Generating State (Loading) */
.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-spinner {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-red);
    border-bottom-color: var(--accent-violet);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-logo {
    position: absolute;
    font-size: 2rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-red);
    animation: pulse 2s ease-in-out infinite;
}

.scanning-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    box-shadow: 0 0 10px var(--accent-red);
    animation: scan 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

.loading-prompt-preview {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
    margin-top: 0.4rem;
}

.progress-bar-container {
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-violet));
    box-shadow: 0 0 8px var(--accent-red);
    transition: width 0.1s linear;
}

.progress-percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

/* Result Image State */
.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
}

.image-frame:hover .frame-overlay {
    opacity: 1;
}

.action-overlay-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(18, 9, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.action-overlay-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 0 15px var(--accent-red);
    transform: scale(1.1);
}

/* Metadata Box */
.metadata-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.6rem;
}

.meta-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.meta-row.vertical {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.meta-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.meta-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.meta-prompt {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    width: 100%;
    max-height: 100px;
    overflow-y: auto;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 8, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    width: 90%;
    max-width: 500px;
    border-color: rgba(217, 38, 98, 0.3);
    animation: modalSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    color: var(--accent-red);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.close-btn:hover {
    color: var(--accent-red);
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

/* Input Fields styling */
.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(217, 38, 98, 0.15);
}

.input-wrapper select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.input-wrapper select option {
    background: #170d21;
    color: #ffffff;
}

.toggle-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.toggle-btn:hover {
    color: var(--text-primary);
}

/* Alerts */
.alert {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.alert-info {
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    color: #e0faff;
}

.alert-info i {
    color: var(--accent-neon-blue);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
}

/* General Buttons inside Modal */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
}

.btn-primary:hover {
    background: #f73b75;
    box-shadow: 0 0 10px rgba(217, 38, 98, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--accent-red);
    color: #ffffff;
}

/* Zoom Modal */
.zoom-modal {
    background: rgba(0, 0, 0, 0.95);
    cursor: zoom-out;
}

.zoom-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#zoom-img {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
}

.zoom-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    color: #ffffff;
    font-size: 2.5rem;
}

/* App Footer */
.app-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: auto;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes scan {
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .display-panel {
        position: relative;
        top: 0;
    }
}

@media (max-width: 600px) {
    .app-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .main-container {
        padding: 1rem;
    }
}

/* User Badge & Header Actions */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(142, 45, 226, 0.12);
    border: 1px solid rgba(142, 45, 226, 0.35);
    color: #f5effa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.user-badge i {
    color: var(--accent-violet);
}

.icon-btn-danger:hover {
    background: rgba(217, 38, 98, 0.18);
    border-color: rgba(217, 38, 98, 0.7);
    color: #ff6b8b;
    box-shadow: 0 0 15px rgba(217, 38, 98, 0.4);
}

.icon-btn-danger i {
    color: var(--accent-red);
}

/* Login Screen Overlay */
.login-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(35, 10, 45, 0.96) 0%, rgba(8, 3, 13, 0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.login-overlay.active {
    display: flex;
    opacity: 1;
}

.login-card {
    width: 90%;
    max-width: 440px;
    background: rgba(18, 9, 26, 0.85);
    border: 1px solid rgba(217, 38, 98, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(217, 38, 98, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, rgba(217, 38, 98, 0.2), rgba(142, 45, 226, 0.2));
    border: 1px solid rgba(217, 38, 98, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 25px rgba(217, 38, 98, 0.3);
}

.login-icon-wrap i {
    font-size: 1.8rem;
    color: var(--accent-red);
}

.login-header .logo-title {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.login-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.login-form {
    text-align: left;
}

.login-error {
    background: rgba(217, 38, 98, 0.15);
    border: 1px solid rgba(217, 38, 98, 0.4);
    color: #ff9bbb;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.login-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    border-radius: 12px;
    margin-top: 0.5rem;
}

.login-btn i {
    transition: transform 0.2s ease;
}

.login-btn:hover i {
    transform: translateX(4px);
}
