/* Admin Panel Styles */

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #197736;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

/* Dashboard İyileştirmeleri */
.dashboard-header {
    margin-bottom: 2rem;
    text-align: center;
}

.dashboard-header h2 {
    color: var(--admin-primary);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.dashboard-header p {
    color: var(--admin-text-light);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
    border-radius: 12px;
    color: white;
}

.stat-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--admin-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--admin-primary);
    margin: 0;
}

.quick-actions {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quick-actions h3 {
    color: var(--admin-text);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-btn {
    background: white;
    border: 2px solid var(--admin-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.action-btn:hover {
    border-color: var(--admin-primary);
    background: var(--admin-primary);
    color: white;
    transform: translateY(-1px);
}

.action-icon {
    font-size: 1.5rem;
}

.action-text {
    font-weight: 600;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--admin-border);
}

.section-header h2 {
    color: var(--admin-text);
    margin: 0;
    font-size: 1.5rem;
}

.section-header p {
    color: var(--admin-text-light);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--admin-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--admin-secondary);
    transform: translateY(-1px);
}

/* Slider List İyileştirmeleri */
.slider-list {
    display: grid;
    gap: 1rem;
}

.slider-item {
    background: var(--admin-card);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--admin-border);
}

.slider-preview h3 {
    color: var(--admin-text);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.slider-preview p {
    color: var(--admin-text-light);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.slider-actions {
    display: flex;
    gap: 0.5rem;
}

/* Services List İyileştirmeleri */
.services-list {
    display: grid;
    gap: 1rem;
}

.service-item {
    background: var(--admin-card);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--admin-border);
}

.service-preview h3 {
    color: var(--admin-text);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.service-preview p {
    color: var(--admin-text-light);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--admin-bg);
}

.admin-sidebar {
    width: 280px;
    background: var(--admin-sidebar);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: var(--admin-sidebar-hover);
    color: white;
    border-left-color: var(--admin-primary);
}

.nav-link.active {
    background: var(--admin-sidebar-hover);
    color: white;
    border-left-color: var(--admin-primary);
}

.nav-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.nav-text {
    font-weight: 600;
}

.sidebar-footer {
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.logout-btn:hover {
    background: #dc2626;
    color: white;
    border-left-color: #dc2626;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1 {
    color: var(--admin-text);
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.page-header p {
    color: var(--admin-text-light);
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
}

/* Messages */
.messages-list {
    display: grid;
    gap: 1rem;
}

.message-item {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--admin-border);
    transition: all 0.3s ease;
}

.message-item.unread {
    border-left: 4px solid var(--admin-primary);
    background: linear-gradient(135deg, var(--admin-card) 0%, rgba(25,119,54,0.05) 100%);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.message-info h3 {
    color: var(--admin-text);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.message-email {
    color: var(--admin-primary);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.message-date {
    color: var(--admin-text-light);
    margin: 0;
    font-size: 0.9rem;
}

.message-actions {
    display: flex;
    gap: 0.5rem;
}

.message-content {
    color: var(--admin-text);
    line-height: 1.6;
}

.message-text {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    border-left: 3px solid var(--admin-primary);
}

/* Files Grid */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.file-item {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid var(--admin-border);
    transition: all 0.3s ease;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.file-preview {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-info h4 {
    color: var(--admin-text);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.file-info p {
    color: var(--admin-text-light);
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--admin-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.upload-area:hover {
    border-color: var(--admin-primary);
    background: rgba(25,119,54,0.05);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-icon {
    font-size: 3rem;
    color: var(--admin-text-light);
}

.upload-content h3 {
    color: var(--admin-text);
    margin: 0;
    font-size: 1.2rem;
}

.upload-content p {
    color: var(--admin-text-light);
    margin: 0;
}

/* Form Sections */
.form-section {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-section h3 {
    color: var(--admin-text);
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 2px solid var(--admin-border);
    padding-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--admin-text-light);
}

.empty-state h3 {
    color: var(--admin-text);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.empty-state p {
    margin: 0;
    font-size: 1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-left: 4px solid;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left-color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .files-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
:root {
    --admin-bg: #f8fafc;
    --admin-sidebar: #1e293b;
    --admin-sidebar-hover: #334155;
    --admin-card: #ffffff;
    --admin-border: #e2e8f0;
    --admin-text: #1e293b;
    --admin-text-muted: #64748b;
    --admin-primary: #197736;
    --admin-primary-hover: #145a2a;
    --admin-success: #10b981;
    --admin-warning: #f59e0b;
    --admin-danger: #ef4444;
    --admin-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --admin-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--admin-bg);
    color: var(--admin-text);
    line-height: 1.6;
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--admin-sidebar), var(--admin-sidebar-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-header {
    margin-bottom: 32px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.login-logo .logo-icon {
    font-size: 32px;
    background: var(--admin-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(25, 119, 54, 0.3);
}

.login-logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--admin-text);
    margin: 0;
}

.login-header p {
    color: var(--admin-text-muted);
    margin: 0;
}

.login-form {
    margin-bottom: 24px;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--admin-text);
}

.login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--admin-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.login-form input:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(25, 119, 54, 0.1);
}

.login-footer {
    color: var(--admin-text-muted);
    font-size: 12px;
}

.login-footer small {
    background: #f0fdf4;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #d1fae5;
    display: inline-block;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--admin-sidebar);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    background: var(--admin-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(25, 119, 54, 0.3);
}

.logo-text h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 0;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin: 0;
}

.nav-item {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: var(--admin-sidebar-hover);
    color: white;
    border-left-color: var(--admin-primary);
}

.nav-item.active {
    background: var(--admin-sidebar-hover);
    color: white;
    border-left-color: var(--admin-primary);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 0;
}

.admin-header {
    background: white;
    padding: 24px 32px;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--admin-shadow);
}

.header-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--admin-text);
    margin-bottom: 4px;
}

.header-subtitle {
    color: var(--admin-text-muted);
    font-size: 14px;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--admin-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}

.btn:hover {
    background: var(--admin-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--admin-shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--admin-primary);
    color: var(--admin-primary);
}

.btn-outline:hover {
    background: var(--admin-primary);
    color: white;
}

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

.btn-danger:hover {
    background: #dc2626;
}

/* Admin Sections */
.admin-section {
    display: none;
    padding: 32px;
}

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

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--admin-text-muted);
    font-size: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--admin-shadow);
    border: 1px solid var(--admin-border);
}

.stat-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--admin-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--admin-primary);
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.color-input {
    width: 60px !important;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: var(--admin-text-muted);
    font-size: 12px;
}

/* File Upload Styles */
.file-upload-container {
    border: 2px dashed var(--admin-border);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
}

.file-upload-container:hover {
    border-color: var(--admin-primary);
    background: #f0fdf4;
}

.file-upload-container input[type="file"] {
    display: none;
}

.file-upload-preview {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--admin-text-muted);
    padding: 20px;
}

.upload-placeholder span {
    font-size: 18px;
    font-weight: 600;
}

.upload-placeholder small {
    font-size: 12px;
    color: var(--admin-text-muted);
}

.file-upload-preview img {
    border-radius: var(--radius-sm);
    box-shadow: var(--admin-shadow-sm);
    border: 2px solid var(--admin-border);
}

.file-upload-preview:hover .upload-placeholder {
    color: var(--admin-primary);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--admin-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(25, 119, 54, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Slider List */
.slider-list,
.services-list {
    display: grid;
    gap: 16px;
}

.slider-item,
.service-item {
    background: white;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--admin-shadow);
    transition: all 0.3s ease;
}

.slider-item:hover,
.service-item:hover {
    box-shadow: var(--admin-shadow-lg);
    transform: translateY(-2px);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--admin-text);
}

.item-actions {
    display: flex;
    gap: 8px;
}

.item-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.content-field {
    display: flex;
    flex-direction: column;
}

.content-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--admin-text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-field input,
.content-field textarea {
    padding: 8px 12px;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.content-field input:focus,
.content-field textarea:focus {
    outline: none;
    border-color: var(--admin-primary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--admin-shadow-lg);
}

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

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--admin-text-muted);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--admin-border);
    color: var(--admin-text);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 24px;
    border-top: 1px solid var(--admin-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Controls */
.slider-controls,
.services-controls {
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .item-content {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error Messages */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-section.active {
    animation: fadeIn 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--admin-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--admin-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--admin-text-muted);
}

/* Mobile Admin Responsive */
@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  
  .admin-sidebar {
    position: fixed;
    left: -280px;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .admin-sidebar.open {
    left: 0;
  }
  
  .admin-main {
    margin-left: 0;
  }
  
  .page-header h1 {
    font-size: 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .action-grid {
    grid-template-columns: 1fr;
  }
  
  .files-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .admin-sidebar {
    width: 100%;
    left: -100%;
  }
  
  .page-header {
    padding: 20px 15px;
  }
  
  .page-header h1 {
    font-size: 20px;
  }
  
  .stats-grid {
    gap: 15px;
  }
  
  .stat-card {
    padding: 15px;
  }
  
  .stat-card h3 {
    font-size: 20px;
  }
  
  .action-grid {
    gap: 15px;
  }
  
  .action-card {
    padding: 15px;
  }
  
  .form-section {
    margin-bottom: 20px;
  }
  
  .form-section h3 {
    font-size: 16px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group label {
    font-size: 14px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px;
    font-size: 14px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Notifications Section */
.notifications-section {
    background: var(--admin-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notifications-section h3 {
    margin: 0 0 20px;
    color: var(--admin-text);
    font-size: 18px;
    font-weight: 600;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    margin-bottom: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 8px;
    color: var(--admin-text);
    font-size: 16px;
    font-weight: 600;
}

.notification-content p {
    margin: 0 0 8px;
    color: var(--admin-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.notification-content small {
    color: #94a3b8;
    font-size: 12px;
}

/* Markalar Yönetimi */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(25, 119, 54, 0.1);
    transition: all 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 119, 54, 0.15);
}

.brand-info h4 {
    margin: 0 0 8px 0;
    color: var(--admin-text);
    font-size: 1.1rem;
    font-weight: 600;
}

.brand-info p {
    margin: 0 0 8px 0;
    color: var(--admin-text-muted);
    font-size: 0.9rem;
}

.brand-info p a {
    color: var(--admin-brand);
    text-decoration: none;
}

.brand-info p a:hover {
    text-decoration: underline;
}

.brand-info small {
    color: var(--admin-text-muted);
    font-size: 0.8rem;
}

.brand-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--admin-text-muted);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 2px dashed rgba(25, 119, 54, 0.2);
}
