:root {
    --primary: #06b6d4;
    /* Vivid Cyan */
    --primary-dark: #0891b2;
    --secondary: #0f172a;
    /* Dark Navy */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --glass-bg: #ffffff;
    /* Replaced glass with solid white */
    --glass-border: #e2e8f0;
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft, glowing drop shadow */
    --gradient-text: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-bg: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
}

.grecaptcha-badge {
    visibility: hidden;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Clean Utilities */
.glass-nav,
.glass-card,
.glass-footer {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.navbar.scrolled .nav-container {
    padding: 0.6rem 2rem;
}

.logo img {
    transition: height 0.3s ease, max-height 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 50px !important;
    max-height: 50px !important;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--secondary);
    margin-right: 0.4rem;
}

.logo span {
    color: var(--text-muted);
    font-weight: 300;
}

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

.nav-links li a {
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--secondary);
}

.btn-login,
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-login:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

/* Hero Section */
.hero-section {
    max-width: 1200px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-price {
    display: inline-block;
    background: rgba(255, 64, 129, 0.15);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 64, 129, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 1rem 2rem;
    border: 1px solid var(--text-muted);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 0.5rem 1.2rem !important;
    font-size: 0.9rem !important;
}

/* Image Wrapper with Floating Badges */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.mock-phone {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--glass-shadow);
    animation: float 6s ease-in-out infinite;
}

.mock-screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
}

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

.floating-badge {
    position: absolute;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    font-weight: 600;
}

.lcv-badge {
    top: 15%;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 7s ease-in-out infinite alternate-reverse;
}

.lcv-badge i {
    color: #4ade80;
}

.price-badge {
    top: 15%;
    right: -20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    animation: float 7s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Templates Section */
.templates-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--secondary);
}

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

.template-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s;
}

.template-card:hover {
    transform: translateY(-10px);
}

.template-img-container {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.template-img-container img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 3s ease-in-out;
}

.template-card:hover .template-img-container img {
    transform: translateY(calc(-100% + 350px));
}

.template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.template-info {
    padding: 1.5rem;
}

.template-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-row {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
}

.new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Expanded Footer */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.brand-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.contact-info li i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sub Pages Common */
.page-hero {
    text-align: center;
    padding: 10rem 2rem 4rem;
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.1) 0%, transparent 100%);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* FAQ Page */
.faq-section {
    padding: 2rem 0 6rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:has(.faq-question.active) {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(6,182,212,0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.3rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #94a3b8;
}

.faq-question.active::after {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: transparent;
}

.faq-answer p {
    padding: 1rem 1.5rem 1.4rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: .95rem;
    border-top: 1.5px solid #e8f0fe;
}

/* Features grid */
.features-page-section {
    padding: 2rem 0 6rem;
}

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

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: 2rem 0 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info-panel,
.contact-form-panel {
    padding: 3rem;
    border-radius: 20px;
}

.info-list {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.info-item h4 {
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}

.w-100 {
    width: 100%;
}

/* About Page */
.about-section {
    padding: 2rem 0 6rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    padding: 3rem;
    border-radius: 20px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-image {
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 50px !important;
        max-height: 50px !important;
    }
    .navbar.scrolled .logo img {
        height: 40px !important;
        max-height: 40px !important;
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 6rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* İstatistik şeridi mobil */
    .stats-row {
        gap: 1.5rem !important;
    }
    .stats-row > div {
        min-width: 120px;
    }

    /* Kategori hero badge */
    .cat-hero { padding: 6rem 1.5rem 3rem !important; }
}

/* ===================== EVENT ICON CARDS ===================== */
.event-icon-card {
    background: white;
    border: 1.5px solid #e8f0fe;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    color: #1e293b;
    font-weight: 600;
    font-size: .9rem;
}
.event-icon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
    border-color: var(--primary);
    color: var(--primary);
}
.event-icon-card .event-icon {
    font-size: 2.2rem;
    line-height: 1;
}


/* How It Works Section */
.how-it-works-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
}

.step-card h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 1rem 0;
    list-style: none;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--bg-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-out forwards;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: flex;
    align-items: flex-start;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Header & Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        border-top: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        text-align: center;
        padding-top: 0;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Mobile Layout Fixes */
    .hero-section {
        margin-top: 4rem;
        padding-top: 2rem;
    }

    .hero-image-wrapper {
        transform: scale(0.9);
    }

    .floating-badge {
        font-size: 0.8rem;
        padding: 0.8rem 1rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .contact-form-panel {
        padding: 2rem 1rem;
    }
}

/* ===================== ABOUT / FEATURE CARDS ===================== */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) { .about-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .about-cards-grid { grid-template-columns: 1fr; } }

.about-card {
    background: white;
    border: 1px solid #eef1f7;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}
.about-card-icon i {
    font-size: 1.6rem;
    color: white;
}
.about-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}
.about-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================== SLIDER NAVIGATION ===================== */
.slider-nav {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.slider-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--primary);
}

@media (max-width: 768px) {
    .slider-nav {
        justify-content: center;
    }
}

/* ===================== CATEGORY CARDS - MOBILE ===================== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.cat-card {
    text-decoration: none;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    transition: transform .25s;
    min-width: 0;
}
.cat-card-emoji { font-size: 1.8rem; flex-shrink: 0; }
.cat-card-text  { min-width: 0; flex: 1; }
.cat-card-text strong { display: block; font-weight: 700; color: #1e293b; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-card-text small  { font-size: .76rem; color: #64748b; }
.cat-card .cat-arrow { margin-left: auto; flex-shrink: 0; }
.cat-card:hover { transform: translateY(-4px); }

@media (max-width: 900px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .cat-grid { grid-template-columns: 1fr; }
    .cat-card-text strong { white-space: normal; }
}

/* ===================== DARK CTA BOX - MOBILE ===================== */
.dark-cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 28px;
    padding: 3.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}
.dark-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    min-width: 180px;
}
@media (max-width: 700px) {
    .dark-cta-box {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
    .dark-cta-buttons {
        flex-direction: row;
        min-width: unset;
    }
    .dark-cta-buttons a {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
}

/* ================================================================
   ADMIN PANEL STYLES
   ================================================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    font-family: inherit;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 100;
    transition: width 0.3s;
}
.admin-sidebar-logo {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar-logo a {
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.admin-sidebar-logo span { color: var(--primary); }
.admin-sidebar-logo small {
    display: block;
    font-size: .7rem;
    color: rgba(255,255,255,.4);
    font-weight: 400;
    margin-top: .1rem;
}

.admin-nav { flex: 1; overflow-y: auto; padding: 1rem 0; }
.admin-nav-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.3);
    padding: .8rem 1.5rem .4rem;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .75rem 1.5rem;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.admin-nav a:hover,
.admin-nav a.active {
    color: white;
    background: rgba(255,255,255,.07);
    border-left-color: var(--primary);
}
.admin-nav a i { width: 18px; text-align: center; flex-shrink: 0; }
.admin-nav a .nav-badge {
    margin-left: auto;
    background: var(--primary);
    color: white;
    font-size: .68rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 50px;
}

.admin-sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255,255,255,.5);
    font-size: .85rem;
    text-decoration: none;
    transition: color 0.2s;
}
.admin-sidebar-footer a:hover { color: #ef4444; }

/* Main Content Area */
.admin-main {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-topbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 110;
}
.admin-topbar h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.admin-topbar-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .85rem;
    color: #64748b;
}
.admin-topbar-meta .admin-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: .85rem;
}

.admin-content {
    padding: 2rem;
    flex: 1;
}

/* Admin Mobile Responsiveness */
.admin-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #0f172a;
    cursor: pointer;
    margin-right: 1rem;
}
.admin-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    z-index: 90;
}
@media (max-width: 992px) {
    .admin-topbar {
        z-index: 10000;
        background: #ffffff;
    }
    .admin-sidebar {
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        position: fixed;
        top: 0;
        left: 0;
        bottom: auto;
        padding-top: 80px; /* space for topbar */
        transform: translateY(-100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 9999;
    }
    .admin-sidebar.show {
        transform: translateY(0);
    }
    .admin-sidebar-logo {
        display: none;
    }
    .admin-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }
    .admin-nav-label {
        display: none;
    }
    .admin-nav a {
        color: #0f172a;
        font-size: 1.1rem;
        font-weight: 600;
        padding: 1rem;
        justify-content: center;
        border-left: none;
        width: 100%;
        text-align: center;
    }
    .admin-nav a:hover, .admin-nav a.active {
        background: none;
        color: var(--primary);
        border-left: none;
    }
    .admin-nav a i {
        display: none;
    }
    .admin-overlay {
        display: none !important;
    }
    .admin-main {
        margin-left: 0;
    }
    .admin-mobile-toggle {
        display: block;
    }
    .admin-overlay.show {
        display: block;
    }
    .admin-topbar {
        padding: 1rem;
        justify-content: flex-start;
    }
    .admin-topbar h1 {
        flex: 1;
        font-size: 1rem;
    }
    .admin-topbar-meta span:first-child {
        display: none; /* Hide date on small screens */
    }
    .admin-content {
        padding: 1rem;
        overflow-x: hidden;
        width: 100vw;
        max-width: 100%;
        box-sizing: border-box;
    }
    .admin-grid-desktop {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 1100px) { .admin-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .admin-stats-grid { grid-template-columns: 1fr; } }

.admin-stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e8f0fe;
}
.admin-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.admin-stat-icon i { color: white; }
.admin-stat-info { min-width: 0; }
.admin-stat-info .val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: .25rem;
}
.admin-stat-info .lbl { font-size: .8rem; color: #64748b; font-weight: 500; }

/* Admin Card / Panel */
.admin-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.admin-card-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.admin-card-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.admin-card-body {
    padding: 0;
    overflow-x: auto;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.admin-table th {
    padding: .8rem 1.2rem;
    text-align: left;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.admin-table td {
    padding: .9rem 1.2rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}
.admin-table tbody tr:hover { background: #fafbff; }
.admin-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 768px) {
    .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
        display: block;
        width: 100%;
    }
    .admin-table thead {
        display: none;
    }
    .admin-table tr {
        margin-bottom: 1rem;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 0.5rem 0;
    }
    .admin-table td {
        padding: 0.75rem 1rem;
        display: flex;
        flex-direction: column;
        text-align: left;
        border-bottom: 1px dashed #e2e8f0;
        align-items: flex-start;
        word-break: break-word;
    }
    .admin-table td:last-child {
        border-bottom: none;
    }
    .admin-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #64748b;
        font-size: 0.7rem;
        text-transform: uppercase;
        margin-bottom: 0.3rem;
        text-align: left;
    }
    .admin-table td > * {
        width: 100%;
    }
    .admin-card-header {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-card-header form, .admin-card-header div {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    .btn-admin {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .65rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-gray   { background: #f1f5f9; color: #475569; }
.badge-purple { background: #ede9fe; color: #6d28d9; }

/* Admin Form Elements */
.admin-form-group { margin-bottom: 1.2rem; }
.admin-form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .4rem;
}
.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: .6rem .9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color 0.2s;
}
.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* Admin Buttons */
.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.2s;
    text-decoration: none;
}
.btn-admin:hover { opacity: .85; transform: translateY(-1px); }
.btn-admin-primary { background: var(--primary); color: white; }
.btn-admin-success { background: #22c55e; color: white; }
.btn-admin-danger  { background: #ef4444; color: white; }
.btn-admin-warning { background: #f59e0b; color: white; }
.btn-admin-ghost   { background: #f1f5f9; color: #475569; }

/* Pagination */
.admin-pagination {
    display: flex;
    gap: .4rem;
    justify-content: center;
    padding: 1.2rem;
}
.admin-pagination a {
    padding: .35rem .75rem;
    border-radius: 8px;
    font-size: .82rem;
    color: #475569;
    background: #f1f5f9;
    text-decoration: none;
}
.admin-pagination a.active,
.admin-pagination a:hover { background: var(--primary); color: white; }

/* Mobile stat cards */
@media (max-width: 900px) {
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- ADMIN FORM GENEL --- */
.admin-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #334155;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.admin-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.admin-input::placeholder {
    color: #94a3b8;
}

/* Animated Template Box */
.animated-bg {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg at 50% 50%, rgba(59,130,246,0.1), rgba(236,72,153,0.1), rgba(59,130,246,0.1));
    animation: rotateBg 8s linear infinite;
    z-index: 0;
}

/* Responsive Form Grid */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}
@keyframes rotateBg {
    100% { transform: rotate(360deg); }
}
.animated-bg::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
}

.cute-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-right: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}