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

/* Dark Theme (Default) */
[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-glass: rgba(26, 26, 37, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.5);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f5f5fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --text-primary: #1a1a2e;
    --text-secondary: #555566;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.15);
}

:root {
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --secondary: #00cec9;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #d63031;
    --gradient: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    --gradient-hover: linear-gradient(135deg, var(--accent-light) 0%, var(--secondary) 100%);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.4s ease, color 0.4s ease;
}

.page {
    display: none;
    min-height: 100vh;
    position: relative;
    padding-bottom: 70px;
}

.page.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* Premium Header */
.premium-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-left, .header-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.premium-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: var(--gradient);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-icon:hover::before {
    opacity: 0.15;
}

.btn-icon:active {
    transform: scale(0.92);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 30px 20px 20px;
    text-align: center;
}

.profile-container {
    margin-bottom: 25px;
}

.profile-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}

.profile-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.4;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 4px solid var(--accent);
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px var(--accent);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image img[src=""] {
    display: none;
}

.profile-image::after {
    content: attr(data-initials);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    position: absolute;
}

.loading-ring {
    position: absolute;
    inset: -8px;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: rotate 1.2s linear infinite;
    z-index: 3;
}

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

.name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0, 184, 148, 0.15);
    border: 1px solid rgba(0, 184, 148, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.cta-primary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.cta-secondary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.4);
}

/* Services Section */
.services-section {
    padding: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

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

.header-line {
    width: 50px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--accent);
}

.service-card:active {
    transform: scale(0.97);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.service-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}

.stat-card {
    flex: 1;
    max-width: 110px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px 12px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Footer */
.premium-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 14px 20px;
    text-align: center;
    z-index: 100;
}

.footer-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: var(--accent-light);
}

/* Categories Page */
.categories-main {
    padding: 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-color);
    border-color: var(--accent);
}

.category-card:active {
    transform: scale(0.96);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.category-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Detail Page */
.detail-main {
    padding: 20px;
}

.detail-section {
    animation: slideIn 0.4s ease;
}

.hidden {
    display: none !important;
}

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

/* About Section */
.about-content {
    text-align: center;
    padding: 20px 0;
}

.about-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--accent);
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px var(--accent);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image img[src=""] {
    display: none;
}

.about-image::after {
    content: 'DR';
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.about-role {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 18px;
}

.stat {
    text-align: center;
}

.about-stats .stat-number {
    font-size: 1.6rem;
}

.about-stats .stat-label {
    font-size: 0.75rem;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 14px;
}

.service-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.service-item .service-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.service-item .service-info {
    flex: 1;
}

.service-item .service-info h3 {
    font-size: 0.95rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.service-item .service-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.service-item > i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-link.facebook { background: #1877f2; }
.social-link.linkedin { background: #0077b5; }
.social-link.naukri { background: #0afb98; color: #1a1a2e; }
.social-link.twitter { background: #1da1f2; }
.social-link.github { background: #333; }
.social-link.youtube { background: #ff0000; }
.social-link.whatsapp { background: #25d366; }
.social-link.telegram { background: #0088cc; }

.social-link i {
    font-size: 1.4rem;
}

.social-link span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 16px;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--accent);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 45px;
    height: 45px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
    font-weight: 500;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

/* Download Section */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.download-btn i {
    font-size: 1.3rem;
    color: var(--accent);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.submit-btn {
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Service Detail */
.service-detail-content h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-demo {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 16px;
}

.service-demo img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.service-demo h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.service-demo p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.sub-service {
    background: rgba(0, 206, 201, 0.08);
    border-left: 3px solid var(--secondary);
    padding: 14px;
    margin: 10px 0;
    border-radius: 0 12px 12px 0;
}

.sub-service strong {
    color: var(--secondary);
}

.sub-service p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Color Picker Panel */
.color-picker-panel {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px var(--shadow-color);
}

.color-picker-panel.active {
    right: 0;
}

.color-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.color-picker-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.close-picker {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-card);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-picker:hover {
    background: var(--accent);
    color: white;
}

.theme-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.theme-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.theme-btn:hover,
.theme-btn.active {
    border-color: var(--accent);
    background: rgba(108, 92, 231, 0.1);
    color: var(--accent);
}

.color-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.color-option {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: white;
    box-shadow: 0 0 0 2px var(--accent);
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (min-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .social-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        gap: 16px;
    }
}

@media (min-width: 480px) {
    .social-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: white;
}

/* Editor Items */
.editor-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    position: relative;
}

.editor-item .form-group {
    margin-bottom: 10px;
}

.remove-item-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--danger);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.remove-item-btn:hover {
    background: var(--warning);
    transform: scale(1.1);
}

/* Settings Page */
.settings-main {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 18px;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.login-card h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.login-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.login-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: -8px;
    margin-bottom: 10px;
    display: none;
}

.login-error.show {
    display: block;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.login-submit {
    margin-top: 10px;
}

/* Settings Panel */
.settings-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-panel.hidden {
    display: none !important;
}

.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
}

.settings-section h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.settings-section .form-group {
    margin-bottom: 14px;
}

.settings-section .form-group:last-child {
    margin-bottom: 0;
}

.settings-section textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
    resize: vertical;
    font-family: inherit;
    width: 100%;
}

.settings-section textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

/* Profile Upload */
.profile-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.upload-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--accent);
    cursor: pointer;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.upload-preview img[src=""] {
    display: none;
}

.upload-preview::after {
    content: 'DR';
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    position: absolute;
}

.upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.8rem;
    color: white;
}

.upload-preview:hover .upload-overlay {
    opacity: 1;
}

.upload-btn {
    padding: 12px 24px;
    border: 2px dashed var(--accent);
    border-radius: 12px;
    background: transparent;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.upload-btn:hover {
    background: rgba(108, 92, 231, 0.1);
}

/* Settings Actions */
.settings-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
}

.save-btn {
    background: var(--gradient);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.export-btn {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    box-shadow: 0 4px 20px rgba(9, 132, 227, 0.3);
}

.import-btn {
    background: linear-gradient(135deg, #00b894, #55efc4);
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.3);
}

.export-admin-btn {
    background: linear-gradient(135deg, #e17055, #fab1a0);
    box-shadow: 0 4px 20px rgba(225, 112, 85, 0.3);
}

.logout-btn {
    background: linear-gradient(135deg, #d63031, #e17055);
    box-shadow: 0 4px 20px rgba(214, 48, 49, 0.3);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-card);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: var(--success);
}

.toast.success i {
    color: var(--success);
}

.toast.error {
    border-color: var(--danger);
}

.toast.error i {
    color: var(--danger);
}

/* File Upload */
.file-input {
    width: 100%;
    padding: 10px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
}

.file-input::-webkit-file-upload-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 0.8rem;
}

.file-status {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
    padding: 4px 8px;
    background: var(--bg-secondary);
    border-radius: 6px;
}

.file-status.has-file {
    color: var(--success);
}

/* Custom Links Editor */
.link-item {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.link-item input {
    flex: 1;
    padding: 8px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.link-item .remove-link-btn {
    background: var(--danger, #e74c3c);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Image Preview */
.svc-img-preview {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin-top: 4px;
}

.svc-img-upload {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.svc-img-upload label {
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    cursor: pointer;
}

/* Download buttons dynamic */
.download-btn.dynamic-file {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* Export site progress */
.export-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 30px;
    z-index: 10000;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.export-progress .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
