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

:root {
    --primary-color: #3898dd;
    --primary-hover: #08a969;
    --primary-gradient: linear-gradient(135deg, #0d4171 0%, #3898dd 100%);
    --success-color: #10b981;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFF;
    color: var(--text-dark);
}

.container {
    margin: 0 auto;
    background: white;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(90deg, #0e477b 0%, #020f18 100%);
    color: white;
    padding: 24px 32px;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: center; /* Yatayda ortalar */
    align-items: center;
    gap: 10px;
}

.header .subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 5px;
  display: flex;
  justify-content: center; /* Yatayda ortalar */
  align-items: center;     /* Dikeyde ortalar */
}



.info-box {
    background: #3898dd;
    color: white; 
    padding: 15px; 
    border-radius: 8px; 
    margin-bottom: 20px;

}


/* Hamburger Menu */
.hamburger-menu {
    position: absolute;

}

.hamburger-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.menu-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-height: calc(100vh - 80px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobil için kaydırma çubuğu gizle */
@media (max-width: 768px) {
    .menu-dropdown::-webkit-scrollbar {
        width: 0;
        display: none;
    }
    .menu-dropdown {
        scrollbar-width: none;
    }
}

.menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.menu-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding-left: 24px;
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
}

.menu-item i {
    font-size: 18px;
    color: #1b93c7;
    width: 24px;
    text-align: center;
}

.menu-item span {
    font-size: 14px;
    font-weight: 600;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 300px 1fr 280px;
    gap: 0;
    min-height: calc(100vh - 140px);
}

/* Sidebar */
.sidebar {
    background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 1px;
}


        .generate-btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(162deg, #3898dd 0%, #08a969 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 17px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .generate-btn:disabled {
	opacity: 0.5;
    	cursor: not-allowed;
        }

/* Template Gallery */
.template-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.template-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.template-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.2);
}

.template-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), 0 8px 16px rgba(99, 102, 241, 0.2);
}

.template-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-item:hover img {
    transform: scale(1.1);
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--border-color);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.1);
}

.upload-area.drag-over {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-style: solid;
}

.upload-icon {
    font-size: 40px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

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

.upload-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 11px;
    color: var(--text-light);
}

#fileInput {
    display: none;
}

/* Canvas Area */
.canvas-area {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    position: relative;
    overflow: auto;
    max-height: calc(100vh - 100px);
}

.canvas-container {
    position: relative;
    max-width: 100%;
    background: white;
    overflow: auto;
}

#mainCanvas {
    display: block;
    cursor: crosshair;
    max-width: 100%;
    height: auto;
}

.canvas-toolbar {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 10px;
}

.canvas-info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
}

/* Control Panel */
.control-panel {
    background: var(--light-bg);
    border-left: 1px solid var(--border-color);
    padding: 20px;
    overflow-y: auto;
}

.control-section {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

.control-section:last-child {
    border-bottom: none;
}

.control-section h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.control-group {
    margin-bottom: 15px;
}

.control-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 6px;
}

.control-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.range-value {
    display: inline-block;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 8px;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-dark);
    background: white;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control[type="color"] {
    height: 40px;
    padding: 4px;
    cursor: pointer;
}

select.form-control {
    cursor: pointer;
}

/* Font Select Styling */
#fontSelect option {
    padding: 8px;
    font-size: 14px;
}

#fontSelect optgroup {
    font-weight: bold;
    font-style: normal;
    padding: 5px 0;
}

/* Text List Styling */
#textList button:hover {
    background: #dc2626;
}

#textList button i {
    font-size: 11px;
}

/* Accordion Styles */
.accordion-section {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
    user-select: none;
    transition: all 0.2s;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: var(--text-light);
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 2000px;
    padding-bottom: 15px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow);
}

.btn-success {
    background: var(--success-gradient);
    color: white;
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
    background: #059669;
    transform: translateY(-1px);
}

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

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #4b5563;
}

.btn-block {
    width: 100%;
    margin-bottom: 10px;
}

.btn-icon {
    padding: 8px 12px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
}

.spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.loading-hint {
    font-size: 13px;
    color: var(--text-light);
}

/* Toast Notifications */
.toast {
    background: linear-gradient(167deg, #3d9ee3 0%, #003242 100%); 
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 10px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.show {
    display: flex;
}

.toast-icon {
    font-size: 24px;
    color: #fff;
}

.toast.success .toast-icon {
    color: #fff;
}

.toast.error .toast-icon {
    color: #fff;
}

.toast.warning .toast-icon {
    color: #fff;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #fff;
}

/* Responsive */
@media (max-width: 1400px) {
    .template-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 250px 1fr 250px;
    }
    
    .template-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar,
    .control-panel {
        border: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .template-grid {
        grid-template-columns: repeat(10, 1fr);
    }
    
    /* Mobilde accordion başlangıçta kapalı */
    .accordion-content {
        max-height: 0;
    }
    
    .accordion-content.active {
        max-height: 2000px;
    }
}

@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 480px) {

.header h1 {
margin-top: 0px;
}


    .template-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.empty-state-hint {
    font-size: 13px;
}

/* Result Container Styles (Fashion Show) */
.result-container {
    padding: 20px;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.comparison-view {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comparison-panel {
    width: 100%;
    padding: 20px;
    background: white;
    border-radius: 12px;
}

/* Image List Styles (Banner Generator) */
.image-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.image-list-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.image-list-item.active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.image-list-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.image-list-info i {
    color: #3b82f6;
    font-size: 16px;
}

/* Icon Grid - Compact Scrollable Layout */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    gap: 6px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.icon-grid::-webkit-scrollbar {
    width: 6px;
}

.icon-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.icon-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.icon-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.icon-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #374151;
}

.icon-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #3b82f6;
    transform: scale(1.15);
    z-index: 10;
}

.icon-item.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: scale(1.1);
}


@media (min-width: 780px) {
    .header h1 {
        margin-top: -60px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        margin-top: 0px;
	font-size: 16px;
    }
    .header .subtitle {
    	font-size: 10px;}
}
/* Menu Categories */
.menu-category {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-category:last-child {
    border-bottom: none;
}

.menu-category-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #1e293b;
    user-select: none;
}

.menu-category-header:hover {
    background: #e9ecef;
}

.menu-category-header i:first-child {
    font-size: 18px;
    color: #1b93c7;
}

.menu-category-header span {
    flex: 1;
    font-size: 15px;
	font-weight: 600;
}

.category-arrow {
    font-size: 14px;
    color: #64748b;
    transition: transform 0.3s ease;
}

.menu-category-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #ffffff;
}

.menu-category-items.active {
    max-height: 700px;
}

.menu-category-items .menu-item {
    padding-left: 16px;
    border-left: 3px solid transparent;
}

.menu-category-items .menu-item:hover {
    background: #f8f9fa;
    border-left-color: #667eea;
}

.menu-category-items .menu-item.active {
    background: #f0f4ff;
    border-left-color: #667eea;
    font-weight: 600;
}

/* Language Switcher in Menu */
.menu-language-section {
    background: linear-gradient(162deg, #3898dd 0%, #08a969 100%);
    padding: 20px 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.menu-language-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.menu-language-label i {
    font-size: 16px;
    opacity: 0.9;
}

.menu-language-options {
    display: flex;
    gap: 8px;
}

.menu-language-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.menu-language-option:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu-language-option.active {
    background: white;
    color: #1b93c7;
    border-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-language-option .lang-flag {
    font-size: 20px;
}

.menu-language-option .lang-name {
    font-weight: 600;
}

.menu-language-option i.fa-check {
    font-size: 12px;
    margin-left: 4px;
}

/* Login Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal[style*="display: block"] {
    display: flex !important;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.auth-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    z-index: 10001;
}

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(162deg, #3898dd 0%, #08a969 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.auth-modal-header h2 {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.auth-modal-header h2 i {
    font-size: 24px;
}

.auth-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.auth-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.auth-modal-body {
    padding: 30px;
}

.auth-modal-body .form-group {
    margin-bottom: 20px;
}

.auth-modal-body .form-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-modal-body .form-group label i {
    color: #3898dd;
    font-size: 16px;
}

.auth-modal-body .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.auth-modal-body .form-group input:focus {
    outline: none;
    border-color: #3898dd;
    box-shadow: 0 0 0 3px rgba(56, 152, 221, 0.1);
}

.form-group-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-link {
    font-size: 14px;
    color: #3898dd;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.forgot-link:hover {
    color: #08a969;
    text-decoration: underline;
}

.btn-modal-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(162deg, #3898dd 0%, #08a969 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-modal-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 152, 221, 0.3);
}

.btn-modal-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-error {
    margin-top: 15px;
    padding: 12px 16px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-error::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}

.modal-success {
    margin-top: 15px;
    padding: 12px 16px;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-success::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}

.auth-modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-modal-footer p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.auth-modal-footer a {
    color: #3898dd;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.auth-modal-footer a:hover {
    color: #08a969;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .auth-modal-header {
        padding: 20px 24px;
    }
    
    .auth-modal-header h2 {
        font-size: 20px;
    }
    
    .auth-modal-body {
        padding: 24px;
    }
    
    .form-group-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

