/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
    box-shadow: var(--shadow-sm);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-content {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex !important;
    list-style: none;
    gap: 2rem;
    align-items: center;
    visibility: visible !important;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-nav:hover {
    background: var(--primary-hover);
    color: white !important;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-btn.active {
    color: var(--primary-color);
}

.lang-separator {
    color: var(--text-secondary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-white);
}

.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    gap: 1rem;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg-light);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.accordion-item.active .step-number {
    background: var(--primary-hover);
}

.accordion-title {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

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

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem 5.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.illustration-container {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.illustration {
    transition: opacity 0.3s ease;
}

.illustration-placeholder {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.illustration-placeholder svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Use Cases Section */
.use-cases {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.use-case-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-link-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-link-group ul {
    list-style: none;
}

.footer-link-group ul li {
    margin-bottom: 0.5rem;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link-group a:hover {
    color: white;
}

.footer-language h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.language-switcher-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher-footer .lang-btn {
    color: rgba(255, 255, 255, 0.8);
}

.language-switcher-footer .lang-btn.active {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        display: none !important;
        gap: 0;
    }

    .nav-menu.mobile-open {
        display: flex !important;
    }

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

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a.btn-nav {
        margin-top: 0.5rem;
        text-align: center;
        border: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .how-it-works-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .illustration-container {
        position: relative;
        top: 0;
        order: -1;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .accordion-content p {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 3rem 0;
    }

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

    .how-it-works,
    .use-cases,
    .cta-section {
        padding: 3rem 0;
    }

    .accordion-header {
        padding: 1rem;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: var(--bg-light);
}

.auth-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group input[type="file"] {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form .form-group--plan {
    margin-top: 12px;
}

/* Register "Paket Seçimi" select — match auth inputs */
.register-page .auth-form select.register-select {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 2.75rem 0.75rem 0.75rem;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-white);
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.register-page .auth-form select.register-select:hover {
    border-color: rgba(15, 23, 42, 0.22);
}

.register-page .auth-form select.register-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.register-page .auth-form select.register-select:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.register-page .select-wrap {
    position: relative;
    width: 100%;
}

/* Custom dropdown arrow (prevents native "ugly" select arrow look) */
.register-page .select-wrap::after {
    content: "";
    position: absolute;
    right: 0.95rem;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    opacity: 0.95;
}

.register-page .select-wrap:focus-within::after {
    opacity: 1;
}

.auth-help-text {
    display: block;
    margin-top: 6px;
    opacity: 0.7;
    line-height: 1.35;
}

/* Register footer links: remove unwanted focus/hover box/outline */
.register-page .auth-footer a,
.register-page .auth-footer a:hover,
.register-page .auth-footer a:active,
.register-page .auth-footer a:focus {
    outline: none;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.register-page .auth-footer a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.register-page .auth-footer a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

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

.btn-block {
    width: 100%;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.auth-footer p {
    margin-bottom: 0.5rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-container {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

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

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.empty-illustration {
    max-width: 200px;
    margin: 0 auto 2rem;
    opacity: 0.5;
}

.empty-illustration svg {
    width: 100%;
    height: auto;
}

.empty-state h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.event-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.event-cover,
.event-cover-placeholder {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.event-cover-placeholder svg {
    width: 100%;
    height: 100%;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-meta p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.event-meta strong {
    color: var(--text-primary);
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Form Pages */
.form-container {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

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

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.event-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

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

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

/* Language Switcher Links */
.language-switcher a,
.language-switcher-footer a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.language-switcher a.active,
.language-switcher-footer a.active {
    color: var(--primary-color);
}

.language-switcher a:hover,
.language-switcher-footer a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .form-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-card {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

.no-scroll { overflow: hidden; }

.guest-landing .guest-hero{
  max-width: 520px;
  margin: 24px auto;
  padding: 0 16px;
}
.guest-cover img{
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  background: #ffffff;
}
.guest-cover-empty{
  height: 320px;
  border-radius: 18px;
  background: #f2f2f2;
  display:flex; align-items:center; justify-content:center;
  color:#666;
}
.guest-title{ text-align:center; padding: 18px 0 8px; }
.guest-title h1{ margin: 8px 0 14px; font-size: 34px; line-height: 1.1; }
.guest-date{ opacity: .75; }
.guest-hint{ margin-top: 10px; opacity: .7; font-size: 14px; }

.sheet-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}
.bottom-sheet{
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: -100%;
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px 18px 0 0;
  z-index: 9999;
  box-shadow: 0 -12px 40px rgba(0,0,0,.18);
  transition: bottom .22s ease;
  padding: 14px 14px 18px;
}
.bottom-sheet.is-open{ bottom: 0; }

.sheet-header{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.sheet-title{ font-weight: 800; font-size: 18px; }
.sheet-sub{ opacity:.7; font-size: 13px; margin-top: 4px; }
.sheet-close{
  border:0; background: transparent; font-size: 20px; cursor:pointer;
  width: 40px; height: 40px; border-radius: 10px;
}
.sheet-actions{ display:flex; flex-direction:column; gap:10px; margin-top: 12px; }
.sheet-btn{
  display:block; text-align:center;
  padding: 14px 12px;
  border-radius: 14px;
  background: #2f6fed; color:#fff; text-decoration:none;
  font-weight: 700;
}
.sheet-cancel{
  border:0; background: transparent;
  padding: 10px 12px; cursor:pointer;
  opacity:.7;
}

.guest-upload{ max-width: 820px; margin: 18px auto; padding: 0 16px; }
.back-link{ display:inline-block; margin: 10px 0 10px; text-decoration:none; }
.muted{ opacity:.7; }
.upload-card{
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  margin: 14px 0 18px;
}
.file-input{ display:block; width: 100%; padding: 10px; }
.hint{ font-size: 12px; opacity:.7; margin: 6px 0 10px; }
.alert{ border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.alert.success{ background: #e9f9ef; border: 1px solid #bfe8cd; }
.alert.error{ background: #ffecec; border: 1px solid #ffbebe; }

.section-title{ margin: 18px 0 10px; }
.recent-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.recent-item{
  border:1px solid #eee;
  border-radius: 14px;
  overflow:hidden;
  background:#fff;
  text-decoration:none;
  color: inherit;
}
.recent-item img{ width:100%; height:140px; object-fit:cover; display:block; }
.file-badge{ padding: 10px; font-weight:800; }
.file-name{ padding: 0 10px 10px; font-size: 12px; opacity:.75; word-break:break-all; }

.no-scroll{ overflow:hidden; }

.manage-tools.card{
  border:1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  background:#fff;
  margin-top: 14px;
}
.manage-tools .muted{ opacity:.7; }
.url-row{ display:flex; gap:10px; align-items:center; margin: 10px 0 12px; }
.url-input{
  flex:1;
  padding: 12px 12px;
  border:1px solid #ddd;
  border-radius: 12px;
  background:#fafafa;
}
.qr-row{ display:flex; gap:16px; }
.qr-box{
  border:1px dashed #ddd;
  border-radius: 16px;
  padding: 14px;
  width: min(520px, 100%);
}
.qr-title{ font-weight:800; margin-bottom: 10px; }
#qrCanvasWrap{ display:flex; justify-content:flex-start; }
.qr-actions{ display:flex; gap:10px; margin-top: 12px; flex-wrap:wrap; }
.hint{ font-size: 12px; opacity:.7; margin-top: 8px; }

/* Modal + Phone preview */
.modal-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}
.modal{
  position:fixed;
  left:50%; top:50%;
  transform: translate(-50%,-50%);
  width: min(920px, 96vw);
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  z-index: 9999;
  padding: 14px;
  display:none;
}
.modal.open{ display:block; }
.modal-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom: 10px; }
.modal-title{ font-weight:900; }
.modal-close{
  border:0; background:transparent; font-size: 20px; cursor:pointer;
  width: 42px; height: 42px; border-radius: 12px;
}

.phone-wrap{ display:flex; justify-content:center; padding: 8px 0 16px; }
.phone{
  width: 380px;
  height: 760px;
  border-radius: 36px;
  background: #111;
  padding: 14px;
  position: relative;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.phone-notch{
  position:absolute;
  left:50%; top:10px;
  transform: translateX(-50%);
  width: 140px; height: 26px;
  background:#000;
  border-radius: 0 0 18px 18px;
  opacity:.65;
  z-index: 2;
}
.phone iframe{
  width:100%;
  height:100%;
  border:0;
  border-radius: 26px;
  background:#fff;
}
@media (max-width: 520px){
  .phone{ width: 320px; height: 680px; }
}

/* ========== WediSave Guest Upload (Mobile First) ========== */
.ws-no-scroll { overflow: hidden; }

.ws-guest-page { min-height: 100dvh; background: #0a0a0a; color: #fff; }

.ws-hero { position: relative; height: 62dvh; width: 100%; overflow: hidden; }
.ws-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); } /* blur yok, net kapak */
.ws-hero__grad { position: absolute; left: 0; right: 0; pointer-events: none; }
.ws-hero__grad--top { top: 0; height: 112px; background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent); }
.ws-hero__grad--bottom { bottom: 0; height: 160px; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); }

.ws-hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 20px 24px; max-width: 520px; }

.ws-badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.10); font-size: 12px; letter-spacing: .2px; width: fit-content; }
.ws-title { margin: 12px 0 0; font-size: 34px; line-height: 1.15; font-weight: 700; }
.ws-date { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.80); }

.ws-cta { margin-top: 18px; width: 100%; border: 0; border-radius: 18px; background: #fff; color: #111; font-size: 16px; font-weight: 700; padding: 16px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.35); cursor: pointer; }
.ws-cta:active { transform: scale(.99); }

.ws-helper { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.70); }

.ws-footer { padding: 18px 20px 28px; }
.ws-powered { font-size: 12px; color: rgba(255,255,255,.55); }

/* Bottom sheet */
.ws-sheet { position: fixed; inset: 0; z-index: 9999; display: none; }
.ws-sheet.is-open { display: block; }
.ws-sheet__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.60); border: 0; width: 100%; height: 100%; }
.ws-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; background: #0b0b0b; border-top-left-radius: 24px; border-top-right-radius: 24px; padding: 18px 18px 22px; box-shadow: 0 -16px 40px rgba(0,0,0,.55); }
.ws-sheet__handle { width: 48px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.15); margin: 2px auto 14px; }

.ws-sheet__head { 
  display: flex; 
  align-items: flex-start; 
  justify-content: space-between; 
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.ws-sheet__title { font-size: 18px; font-weight: 700; }
.ws-sheet__desc { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.60); }

.ws-sheet__closebtn { border: 0; background: rgba(255,255,255,.10); color: #fff; padding: 10px 12px; border-radius: 12px; font-size: 14px; cursor: pointer; }

.ws-sheet__box { margin-top: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05); padding: 14px; }
.ws-sheet__boxTitle { font-size: 14px; color: rgba(255,255,255,.85); font-weight: 600; }
.ws-sheet__boxText { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.60); line-height: 1.55; }

/* Upload Form */
.ws-upload { margin-top: 14px; display: grid; gap: 12px; }

.ws-upload__pick{
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 12px;
  border-radius: 16px;
}
.ws-upload__pick input{ display:none; }
.ws-upload__pickBtn{
  background:#fff; color:#111; font-weight:700;
  padding:10px 12px; border-radius: 12px; cursor:pointer;
  white-space: nowrap;
}
.ws-upload__pickHint{ font-size:12px; color: rgba(255,255,255,.65); }

.ws-upload__list{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  padding: 10px;
}
.ws-upload__row{ display:flex; justify-content:space-between; gap:10px; font-size:12px; color: rgba(255,255,255,.80); padding:6px 4px; }
.ws-upload__row span{ color: rgba(255,255,255,.55); }

.ws-upload__progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  overflow:hidden;
}
.ws-upload__bar{
  height: 100%;
  background: #ffffff;
  width: 0%;
  transition: width .15s linear;
}

.ws-upload__submit{
  width:100%;
  border:0;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 800;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}
.ws-upload__submit:disabled{ opacity:.55; cursor:not-allowed; }

.ws-upload__msg{
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
}
.ws-upload__msg.is-ok{ background: rgba(34,197,94,.12); }
.ws-upload__msg.is-err{ background: rgba(239,68,68,.12); }

/* Media Grid (Admin) */
.ws-media-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap:12px;
}
.ws-media-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.ws-media-card.is-hidden{ opacity:.75; }
.ws-media-thumb{
  height:160px;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ws-media-thumb img, .ws-media-thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
}
.ws-media-meta{ padding:10px; }
.ws-media-name{
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ws-media-sub{ font-size:12px; color:rgba(0,0,0,.55); margin-top:4px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.ws-badge{
  font-size:11px;
  padding:2px 8px;
  border-radius:999px;
  background:rgba(37,99,235,.10);
  color:#2563eb;
}
.ws-badge--hidden{ background:rgba(239,68,68,.10); color:#ef4444; }
.ws-media-actions{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
.ws-btn{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  padding:7px 10px;
  border-radius:10px;
  font-size:12px;
  cursor:pointer;
}
.ws-btn--danger{ background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.25); }
.ws-btn--ghost{ text-decoration:none; }

/* Success State */
.ws-success{
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  padding: 14px;
  display: grid;
  gap: 10px;
  text-align: center;
}

.ws-success__icon{
  font-size: 28px;
  line-height: 1;
}

.ws-success__title{
  font-size: 14px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

.ws-success__desc{
  font-size: 12px;
  color: rgba(255,255,255,.70);
}

.ws-success__btn{
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 800;
  cursor: pointer;
  background: #fff;
  color: #111;
}

.ws-success__btn--ghost{
  background: rgba(255,255,255,.10);
  color: #fff;
}

/* Closed State */
.ws-cta:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.ws-closed-note{
  margin-top: 10px;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
}

.ws-cta[disabled]{
  opacity: .55;
  cursor: not-allowed;
}

.ws-upload-closed{
  margin-top: 10px;
  font-size: 13px;
  opacity: .8;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  max-width: 520px;
}

/* Banner */
.ws-banner{
  background: rgba(37, 99, 235, .10);
  border: 1px solid rgba(37, 99, 235, .20);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0 16px;
}

.ws-banner--info{
  background: rgba(37, 99, 235, .10);
  border-color: rgba(37, 99, 235, .20);
}

.ws-banner--warn{
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .25);
}

.ws-banner--danger{
  background: rgba(239, 68, 68, .10);
  border-color: rgba(239, 68, 68, .22);
}

.ws-banner__title{
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}

.ws-banner__desc{
  margin-top: 6px;
  opacity: .75;
  font-size: 13px;
}

/* Tag (Status Badge) */
.ws-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.08);
}

.ws-tag--ok{
  background: rgba(34,197,94,.12);
  border-color: rgba(34,197,94,.22);
  color: #16a34a;
}

.ws-tag--off{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.22);
  color: #ef4444;
}

.ws-tag-hint{
  margin-top: 8px;
  font-size: 12px;
  opacity: .7;
}

/* Upload Features Card */
.ws-feat{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
  background: #fff;
}

.ws-feat__head{
  margin-bottom: 12px;
  font-size: 14px;
}

.ws-feat__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.ws-feat__item{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0,0,0,.015);
}

.ws-feat__k{
  font-size: 11px;
  opacity: .65;
  margin-bottom: 4px;
}

.ws-feat__v{
  font-size: 13px;
  font-weight: 800;
}

.ws-feat__v.is-on{
  color: #16a34a;
}

.ws-feat__v.is-off{
  color: #ef4444;
}

.ws-feat__v.is-soon{
  color: #6b7280;
}

.ws-feat__demo{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.ws-feat__demoTitle{
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ws-feat__demoBar{
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
  margin-bottom: 6px;
}

.ws-feat__demoFill{
  height: 100%;
  background: #2563eb;
  transition: width .2s;
}

.ws-feat__demoText{
  font-size: 12px;
  opacity: .75;
}

.ws-feat__demoHint{
  margin-top: 8px;
  font-size: 11px;
  opacity: .65;
  color: #ef4444;
}

@media(max-width: 900px){
  .ws-feat__grid{ grid-template-columns:1fr; }
}

/* Package Status Card */
.ws-pkg{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 16px;
  background: #fff;
}

.ws-pkg__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 10px;
}

.ws-pkg__label{ opacity:.65; font-size:12px; }
.ws-pkg__value{ font-size:13px; }

.ws-pkg__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.ws-pkg__item{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 10px 10px;
  background: rgba(0,0,0,.015);
}

.ws-pkg__k{ font-size:11px; opacity:.65; }
.ws-pkg__v{ font-size:13px; font-weight:800; margin-top:4px; }
.ws-pkg__s{ font-size:11px; opacity:.65; margin-top:4px; }

@media(max-width: 900px){
  .ws-pkg__grid{ grid-template-columns:1fr; }
}

.ws-feat{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 16px;
  background: #fff;
}

.ws-feat__head{ margin-bottom: 10px; }

.ws-feat__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.ws-feat__item{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0,0,0,.015);
}

.ws-feat__k{ font-size:11px; opacity:.65; }
.ws-feat__v{ margin-top:6px; font-weight:900; font-size:13px; display:inline-flex; }
.ws-feat__v.is-on{ color:#16a34a; }
.ws-feat__v.is-off{ color:#ef4444; }
.ws-feat__v.is-soon{ color:#f59e0b; }

.ws-feat__demo{
  margin-top: 12px;
  border-top: 1px dashed rgba(0,0,0,.10);
  padding-top: 12px;
}

.ws-feat__demoTitle{ font-weight:900; font-size:13px; margin-bottom:8px; }
.ws-feat__demoBar{
  height:10px;
  border-radius:999px;
  background: rgba(0,0,0,.08);
  overflow:hidden;
}
.ws-feat__demoFill{
  height:100%;
  background:#2563eb;
}
.ws-feat__demoText{
  margin-top:8px;
  font-size:12px;
  opacity:.75;
}
.ws-feat__demoHint{
  margin-top:8px;
  font-size:12px;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
}
@media(max-width: 900px){
  .ws-feat__grid{ grid-template-columns:1fr; }
}

.ws-qr{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px;
  background:#fff;
  text-align:center;
}

.ws-qr__title{
  margin-top:10px;
  font-weight:800;
  font-size:13px;
  opacity:.8;
}

.ws-qr--minimal{ background:#fff; }
.ws-qr--bold{ background: #111; color:#fff; }
.ws-qr--elegant{ background:#fff; }
.ws-qr--photo{ background:#f3f4f6; }

.ws-quota{
  font-size:14px;
  padding:8px 16px;
  background:#f3f4f6;
  border-radius:8px;
  color:#374151;
}

.ws-quota strong{
  color:#111;
  font-weight:600;
}

.btn.disabled{
  opacity:.5;
  cursor:not-allowed;
  pointer-events:none;
}

.ws-demo-note{
  margin-top: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(37,99,235,.18);
  background: rgba(37,99,235,.08);
  max-width: 520px;
}

.ws-demo-note__title{
  font-weight: 900;
  font-size: 13px;
}

.ws-demo-note__desc{
  margin-top: 6px;
  font-size: 12px;
  opacity: .8;
}

.ws-demo-note__btn{
  display:inline-block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
}

.ws-pricing{
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 16px;
  text-align:center;
}

.ws-pricing__title{
  font-size: 28px;
  font-weight: 900;
}

.ws-pricing__subtitle{
  margin-top: 6px;
  opacity: .7;
}

.ws-pricing__grid{
  margin-top: 30px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ws-plan{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 22px 18px;
  background:#fff;
  position:relative;
}

.ws-plan.featured{
  border-width: 2px;
  border-color: #2563eb;
  transform: scale(1.03);
}

.ws-plan h3{
  margin-top: 6px;
  font-size: 20px;
}

.ws-plan__price{
  margin: 12px 0;
  font-size: 22px;
  font-weight: 900;
}

.ws-plan ul{
  list-style:none;
  padding:0;
  margin: 16px 0;
  font-size: 14px;
}

.ws-plan ul li{
  margin: 8px 0;
}

.ws-plan__cta{
  display:inline-block;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background:#2563eb;
  color:#fff;
  font-weight: 900;
  text-decoration:none;
}

.ws-plan__cta.outline{
  background:#fff;
  color:#2563eb;
  border: 2px solid #2563eb;
}

.ws-plan__cta.muted{
  background:#e5e7eb;
  color:#6b7280;
}

.ws-plan__badge{
  position:absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background:#111;
  color:#fff;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 999px;
}

.ws-plan__badge.hot{
  background:#2563eb;
}

.ws-plan__badge.premium{
  background:#111827;
}

@media(max-width: 900px){
  .ws-pricing__grid{
    grid-template-columns:1fr;
  }
}

/* ===== Event Manage – Genel ===== */
.event-manage h1 {
  font-weight: 600;
  letter-spacing: -0.3px;
}

.event-manage .card {
  border-radius: 14px;
}

.event-manage .card-body {
  padding: 1.75rem;
}

/* ===== Üst Hero ===== */
.event-hero {
  background: linear-gradient(135deg, #f7f9ff, #ffffff);
  border-radius: 18px;
}

/* ===== QR Kutusu ===== */
.qr-box {
  background: #fafafa;
  border: 1px dashed #d6d6d6;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.qr-box img {
  max-width: 220px;
  margin: 0 auto 12px;
}

/* ===== Ayarlar Accordion ===== */
details > summary {
  list-style: none;
  font-size: 16px;
}

details[open] summary {
  margin-bottom: 16px;
}

/* ===== Yüklenenler ===== */
.upload-grid img {
  border-radius: 10px;
}

/* ===== Küçük metinler ===== */
.helper-text {
  font-size: 13px;
  color: #6c757d;
}

/* =========================
   WEDISAVE – EVENT MANAGE (Premium UI)
   ========================= */

.event-manage{
  --ws-radius: 16px;
  --ws-radius-sm: 12px;
  --ws-border: rgba(15, 23, 42, .08);
  --ws-muted: rgba(15, 23, 42, .60);
  --ws-muted2: rgba(15, 23, 42, .45);
}

/* Sayfa genel boşluk / yazı */
.event-manage .card{
  border-radius: var(--ws-radius);
  border: 1px solid var(--ws-border) !important;
  box-shadow: 0 10px 30px rgba(15,23,42,.06) !important;
}

.event-manage .card-body{
  padding: 28px !important;
}

.event-manage h1{
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.event-manage h2, .event-manage h3{
  font-weight: 650;
  letter-spacing: -0.2px;
}

.event-manage .text-muted,
.event-manage .helper-text{
  color: var(--ws-muted) !important;
  font-size: 13px !important;
}

/* Üst hero daha "ürün" gibi dursun */
.event-manage .event-hero{
  background: radial-gradient(1200px 400px at 20% 0%, rgba(37,99,235,.12), transparent 60%),
              linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,0));
}

/* Ayırıcı çizgileri azalt */
.event-manage hr{
  opacity: .08;
}

/* Link input + butonlar */
.event-manage input.form-control,
.event-manage select.form-select,
.event-manage textarea.form-control{
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  padding: 10px 12px;
  box-shadow: none !important;
}

.event-manage input.form-control:focus,
.event-manage select.form-select:focus{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12) !important;
}

/* Butonları premiumlaştır */
.event-manage .btn{
  border-radius: 12px !important;
  padding: 10px 14px;
  font-weight: 600;
}

.event-manage .btn-primary{
  box-shadow: 0 10px 22px rgba(37,99,235,.18);
}

.event-manage .btn-outline-primary,
.event-manage .btn-outline-danger{
  border-width: 1px;
}

/* QR kutusu – kart gibi */
.event-manage .qr-box{
  background: linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,0));
  border: 1px solid rgba(15,23,42,.12);
  border-radius: var(--ws-radius);
  padding: 18px;
  text-align: center;
}

.event-manage .qr-box img{
  max-width: 240px;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(15,23,42,.08);
}

/* QR altındaki küçük alanlar düzgün hizalansın */
.event-manage .qr-box .form-select{
  max-width: 160px;
  display: inline-block;
  vertical-align: middle;
}

/* Gelişmiş ayarlar (details) */
.event-manage details{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--ws-radius);
  padding: 14px 16px;
  background: #fff;
}

.event-manage details > summary{
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-manage details > summary::-webkit-details-marker{ display:none; }

.event-manage details[open]{
  box-shadow: 0 12px 26px rgba(15,23,42,.06);
}

.event-manage details .settings-box{
  margin-top: 16px;
  background: rgba(2,6,23,.015);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--ws-radius);
  padding: 16px;
}

/* "Kaydet"leri aynı hizada göster */
.event-manage .settings-box .btn{
  margin-top: 10px;
}

/* Yüklenenler grid'i daha derli toplu */
.event-manage .upload-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1200px){
  .event-manage .upload-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .event-manage .upload-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .event-manage .upload-grid{ grid-template-columns: 1fr; }
}

.event-manage .upload-card{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--ws-radius);
  padding: 12px;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
}

.event-manage .upload-card.is-selected {
  border: 2px solid #60a5fa; /* Soft blue - 2px */
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.2);
}

.event-manage .upload-card img{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
}

/* Kalp ikonu stilleri */
.heart-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.heart-icon:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.heart-icon.is-selected {
  background: rgba(239, 68, 68, 0.1);
  animation: heart-pulse 2s infinite;
}

.heart-icon.is-selected:hover {
  background: rgba(239, 68, 68, 0.15);
}

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

.heart-icon svg {
  width: 20px;
  height: 20px;
}

.upload-thumb {
  position: relative;
  display: block;
}

/* Hızlı Seçim Araçları */
.media-bulk-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(15,23,42,.10);
  flex-wrap: wrap;
  gap: 16px;
}

.media-bulk-actions__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.media-bulk-actions__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.media-selection-counter {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.media-selection-counter__text {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Filtreleme Butonları */
.media-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.media-filter-btn {
  padding: 8px 16px;
  border: 1px solid rgba(15,23,42,.15);
  background: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
}

.media-filter-btn:hover {
  background: #f1f5f9;
  border-color: rgba(15,23,42,.25);
  color: #475569;
}

.media-filter-btn.active {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Progress Bar */
.media-download-progress {
  margin: 16px 0;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
}

.media-download-progress__bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.media-download-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
  animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.media-download-progress__text {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .media-bulk-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .media-bulk-actions__left,
  .media-bulk-actions__right {
    width: 100%;
  }
  
  .media-filters {
    width: 100%;
    justify-content: center;
  }
  
  .media-filter-btn {
    flex: 1;
    min-width: 0;
    text-align: center;
  }
}

.event-manage .upload-actions .btn{
  padding: 8px 10px;
  border-radius: 10px !important;
  font-size: 13px;
}

/* Navbar sayfanın ortasına düşüyorsa – fixed/absolute çakışmalarını azalt */
.header, .navbar, nav{
  background: #fff;
}

/* ===== Event Manage – Premium Layout (Final) ===== */
.manage-wrap{max-width:1100px;margin:0 auto;padding:18px}
.manage-grid{display:grid;grid-template-columns:380px 1fr;gap:22px;align-items:start;margin-top:16px}
@media (max-width: 980px){.manage-grid{grid-template-columns:1fr}}

.hero-card{display:flex;justify-content:space-between;gap:16px;padding:14px;border-radius:18px;background:#fff;border:1px solid rgba(0,0,0,.06);box-shadow:0 10px 30px rgba(0,0,0,.04)}
.hero-left{display:flex;gap:14px;align-items:center;min-width:0}
.hero-cover{width:92px;height:68px;border-radius:14px;overflow:hidden;background:#ffffff;flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.hero-cover img{width:100%;height:100%;object-fit:contain;display:block}
.hero-meta{min-width:0}
.hero-title{font-size:18px;line-height:1.2;margin:0 0 6px 0}
.hero-sub{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}

.card{padding:14px;border-radius:18px;background:#fff;border:1px solid rgba(0,0,0,.06);box-shadow:0 10px 30px rgba(0,0,0,.04)}
.card-head h2{margin:0;font-size:16px}
.card-head p{margin:6px 0 0 0;opacity:.7;font-size:13px}
.card-head-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}

.share-body{display:grid;grid-template-columns:1fr;gap:16px;margin-top:12px}
.qr-box{display:flex;flex-direction:column;gap:10px}
.qr-box img{width:100%;border-radius:14px;border:1px solid rgba(0,0,0,.06);background:#fff}
.link-box label{font-size:12px;opacity:.7}
.copy-row{display:flex;gap:8px;margin-top:8px}
.copy-input{width:100%;padding:10px 12px;border-radius:12px;border:1px solid rgba(0,0,0,.12);background:#f8fafc}
.tiny-note{margin-top:8px;font-size:12px;opacity:.65}

.upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
@media (max-width: 980px){.upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 520px){.upload-grid{grid-template-columns:1fr}}
.upload-card{border-radius:16px;border:1px solid rgba(0,0,0,.06);overflow:hidden;background:#fff}
.upload-thumb{position:relative;display:block;background:#f3f4f6;aspect-ratio: 4/3}
.upload-thumb img,.upload-thumb video{width:100%;height:100%;object-fit:cover;display:block}
.play-badge{position:absolute;inset:auto 10px 10px auto;background:rgba(0,0,0,.65);color:#fff;border-radius:999px;padding:6px 10px;font-size:12px}
.upload-meta{padding:10px 10px 6px 10px}
.upload-name{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.upload-sub{display:flex;gap:8px;align-items:center;margin-top:6px}
.muted{opacity:.65;font-size:12px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f1f5f9;font-size:12px}
.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px}
.badge-active{background:#ecfeff}
.badge-draft{background:#fef9c3}
.badge-expired{background:#fee2e2}
.upload-actions{display:flex;justify-content:space-between;gap:8px;padding:10px;border-top:1px solid rgba(0,0,0,.06)}

.btn{border:0;border-radius:12px;padding:10px 12px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-primary{background:#111827;color:#fff}
.btn-soft{background:#f1f5f9;color:#111827}
.btn-ghost{background:transparent;border:1px solid rgba(0,0,0,.12);color:#111827}
.btn-danger{background:#ef4444;color:#fff}
.w-full{width:100%}

.settings-card details summary{cursor:pointer;list-style:none;font-weight:600}
.settings-card details summary::-webkit-details-marker{display:none}
.settings-box{margin-top:12px}
.empty-state{padding:14px;border-radius:14px;background:#f8fafc;border:1px dashed rgba(0,0,0,.16);opacity:.75}

/* ===== Settings UI (Premium) ===== */
.settings-ui{padding:6px 0}
.settings-intro h3{margin:0 0 6px 0;font-size:16px}
.settings-intro p{margin:0;opacity:.7;font-size:13px}

.settings-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}

.settings-section{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.04);
  padding:14px;
}

.section-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}
.section-head h4{margin:0;font-size:14px}
.section-head p{margin:6px 0 0 0;opacity:.7;font-size:12px}

.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width: 820px){.fields{grid-template-columns:1fr}}

.field label{display:block;font-size:12px;opacity:.75;margin-bottom:6px}
.field input[type="text"],
.field input[type="number"],
.field input[type="date"],
.field select{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#f8fafc;
  outline:none;
}

.help{margin-top:6px;font-size:12px;opacity:.65}

.toggles{display:flex;flex-direction:column;gap:10px}
.toggle-row{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
.toggle-row input{transform:scale(1.05)}

.section-actions{display:flex;justify-content:flex-end;margin-top:12px}
.chip-info{background:#eef2ff}

.settings-section.danger{
  border-color: rgba(239,68,68,.25);
  background: #fff;
}
.settings-section.danger .section-head h4{color:#b91c1c}
.danger-actions{display:flex;justify-content:flex-start;margin-top:10px}

/* uploads header buttons */
.btn-group-right{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
}

.btn-eq{
  height:44px;          /* aynı yükseklik */
  min-width:140px;      /* aynı genişlik hissi */
  padding:0 16px;
  border-radius:14px;
  font-weight:600;
}

@media (max-width: 520px){
  .btn-group-right{width:100%}
  .btn-eq{min-width:0; flex:1;} /* мобilde eşit paylaşsın */
}

/* Gelişmiş Ayarlar kartını üst bloktan ayır */
.settings-card{
  margin-top: 18px;
}

/* ===== Preview Modal (Phone Mockup) ===== */
body.modal-open{overflow:hidden}

.preview-modal{position:fixed;inset:0;display:none;z-index:9999}
.preview-modal.is-open{display:block}

.preview-backdrop{
  position:absolute;inset:0;
  background:rgba(15,23,42,.45);
  backdrop-filter: blur(10px);
}

.preview-shell{
  position:relative;
  width:min(420px, 92vw);
  margin:6vh auto 0 auto;
  display:flex;
  justify-content:center;
  align-items:center;
}

.preview-close{
  position:absolute;
  top:-10px; right:-10px;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(17,24,39,.85);
  color:#fff;
  cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}

.preview-phone{
  width:min(390px, 92vw);
  height:min(780px, 80vh);
  border-radius:44px;
  background: #0b1220;
  padding:14px;
  box-shadow:0 25px 70px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.10);
  position:relative;
}

.preview-notch{
  position:absolute;
  top:10px; left:50%;
  transform:translateX(-50%);
  width:120px;height:24px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}

.preview-screen{
  width:100%;
  height:100%;
  border-radius:34px;
  overflow:hidden;
  background:#fff;
  margin-top:18px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.preview-screen iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

/* ===== Guest Upload Page (Hero) ===== */
.guest-hero{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  min-height: 360px;
  margin: 14px auto;
  max-width: 520px;
}

.guest-hero-bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  /* filter: blur(10px); removed for clarity */
  /* transform: scale(1.1); removed for clarity */
}

.guest-hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,.25), rgba(2,6,23,.72));
}

.guest-hero-inner{
  position:relative;
  padding: 22px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  color:#fff;
}

.guest-badge{
  display:inline-flex;
  align-items:center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
  opacity: .95;
}

.guest-title{
  margin: 4px 0 0 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.2px;
}

.guest-date{
  font-size: 13px;
  opacity: .85;
}

.guest-cta{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.guest-cta-btn{
  height: 48px;
  border-radius: 16px;
  font-weight: 700;
}

.guest-hint{
  font-size: 12px;
  opacity: .78;
}

.ws-toast{
  position:fixed;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  bottom:22px;
  background:rgba(17,24,39,.92);
  color:#fff;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  opacity:0;
  transition: all .25s ease;
  z-index:99999;
  font-size:13px;
}
.ws-toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* ===== Guest Mini Gallery ===== */
.guest-gallery{max-width:520px;margin:14px auto 0 auto;padding:0 6px}
.gallery-title{font-size:14px;margin:0 0 8px 6px;opacity:.85}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}

.gallery-item{
  position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;
  background:#111;border:0;padding:0;cursor:pointer;
}
.gallery-item img,.gallery-item video{width:100%;height:100%;object-fit:cover;display:block}
.gallery-play{
  position:absolute;inset:auto 6px 6px auto;background:rgba(0,0,0,.65);
  color:#fff;border-radius:999px;padding:4px 8px;font-size:11px
}

/* ===== Lightbox ===== */
.lightbox{position:fixed;inset:0;z-index:99999}
.lightbox-bg{position:absolute;inset:0;background:rgba(0,0,0,.75)}
.lightbox-content{position:relative;max-width:92vw;max-height:82vh;margin:8vh auto 0 auto}
.lightbox-content img,.lightbox-content video{max-width:100%;max-height:82vh;border-radius:14px;display:block}
.lightbox-close{
  position:absolute;top:-12px;right:-12px;width:36px;height:36px;border-radius:12px;
  border:0;background:#111;color:#fff;cursor:pointer
}

.sheet-gallery{margin-top:12px}
.gallery-title-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px 6px}

.sheet-close-link{
  width:100%;
  margin-top:10px;
  background:transparent;
  border:0;
  color:rgba(255,255,255,.75);
  font-size:13px;
  padding:10px;
  cursor:pointer;
}

/* ===== Premium Button Hover / Focus (Global) ===== */

/* Genel: buton ve buton gibi linkler */
button,
a.btn,
.btn,
input[type="button"],
input[type="submit"]{
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, opacity .12s ease;
}

/* Hover: hafif yükselme + gölge */
button:hover,
a.btn:hover,
a.btn.btn-soft:hover,
.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  filter: brightness(1.02);
}

/* Active: basma hissi */
button:active,
a.btn:active,
.btn:active,
input[type="button"]:active,
input[type="submit"]:active{
  transform: translateY(0px);
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}

/* Focus: klavye erişilebilirliği */
button:focus-visible,
a.btn:focus-visible,
.btn:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(59,130,246,.35), 0 10px 26px rgba(0,0,0,.10);
}

/* Disabled: hover kapalı */
button:disabled,
.btn:disabled,
a.btn[aria-disabled="true"]{
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Eğer sayfada .btn-soft / .btn-primary gibi varyantlar varsa uyumlu */
.btn-primary:hover{ filter: brightness(1.03); }
.btn-danger:hover{ filter: brightness(1.03); }

/* ===== Brand Blue Hover Accents ===== */
:root{
  --ws-blue: #2f5bff;          /* ana mavi (gerekirse senin tonuna göre değiştir) */
  --ws-blue-2: #1f49e6;        /* hover daha koyu */
  --ws-blue-ring: rgba(47,91,255,.35);
  --ws-blue-glow: rgba(47,91,255,.22);
}

/* Mavi/primary butonlar (bootstrap, custom, inline) */
.btn-primary,
.btn.btn-primary,
a.btn-primary,
button.btn-primary,
.btn-blue,
.ws-btn-primary{
  background: var(--ws-blue);
  border-color: transparent;
  color: #fff;
}

.btn-primary:hover,
.btn.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-blue:hover,
.ws-btn-primary:hover{
  background: var(--ws-blue-2);
  box-shadow: 0 12px 28px rgba(0,0,0,.12), 0 0 0 4px var(--ws-blue-glow);
  filter: none; /* brightness yerine net renk kontrol */
}

/* Soft/secondary butonlar: hafif mavi tint */
a.btn.btn-soft:hover,
a.btn.btn-soft.btn-eq:hover,
.btn.btn-soft:hover,
.btn.btn-soft.btn-eq:hover,
a.btn-soft:hover,
.btn-soft:hover,
.btn-secondary:hover,
.btn-light:hover,
.btn-outline:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.10), 0 0 0 3px var(--ws-blue-glow) !important;
  border-color: rgba(47,91,255,.25);
  filter: brightness(1.03);
}

/* Focus ring'i de maviye sabitle */
button:focus-visible,
a.btn:focus-visible,
.btn:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible{
  box-shadow: 0 0 0 3px var(--ws-blue-ring), 0 10px 26px rgba(0,0,0,.10);
}

/* ===== Pill Badges (Upload Status) ===== */
.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.pill-open{
  background:#eef2ff;
  color:#1e40af;
  border:1px solid rgba(30,64,175,.2);
}
.pill-closed{
  background:#f3f4f6;
  color:#6b7280;
  border:1px solid rgba(107,114,128,.15);
}

/* ===== Nav Link & Dashboard Link Hover Effects ===== */
a.nav-link,
a[href*="dashboard"]:not(.btn){
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, opacity .12s ease;
}

a.nav-link:hover,
a[href*="dashboard"]:not(.btn):hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10), 0 0 0 3px var(--ws-blue-glow);
  filter: brightness(1.02);
}

a.nav-link:focus-visible,
a[href*="dashboard"]:not(.btn):focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px var(--ws-blue-ring), 0 10px 26px rgba(0,0,0,.10);
}

/* Header nav links (text links only): keep premium, no box/outline */
.header .nav-menu a:not(.btn-nav):not(.lang-btn) {
  transform: none;
  box-shadow: none;
  border: 0;
  outline: none;
  background: transparent;
  transition: color .15s ease, opacity .15s ease, text-decoration-color .15s ease;
}

.header .nav-menu a:not(.btn-nav):not(.lang-btn):hover {
  transform: none;
  box-shadow: none;
  filter: none;
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.header .nav-menu a:not(.btn-nav):not(.lang-btn):focus,
.header .nav-menu a:not(.btn-nav):not(.lang-btn):active {
  outline: none;
  box-shadow: none;
}

.header .nav-menu a:not(.btn-nav):not(.lang-btn):focus-visible {
  outline: none;
  box-shadow: none;
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ===== Guest Closed Card ===== */
.guest-closed-card{
  text-align:center;
  padding:24px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
}
.closed-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 16px;
  border-radius:999px;
  background:rgba(239,68,68,.15);
  color:#fee2e2;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:16px;
}
.guest-closed-card h3{
  margin:0 0 8px 0;
  font-size:18px;
  font-weight:600;
  color:#fff;
}
.guest-closed-card p{
  margin:0;
  font-size:14px;
  color:rgba(255,255,255,.7);
  line-height:1.5;
}

/* ===== Media Pagination ===== */
.media-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  align-items:center;
  margin-top:16px;
  flex-wrap:wrap;
}
.pagination-btn{
  min-width:40px;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111827;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  transition:all .12s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pagination-btn:hover:not(:disabled){
  background:#f3f4f6;
  border-color:rgba(0,0,0,.2);
  transform:translateY(-1px);
}
.pagination-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.pagination-btn-active{
  background:#111827;
  color:#fff;
  border-color:#111827;
}
.pagination-btn-active:disabled{
  opacity:1;
}
.pagination-dots{
  padding:0 4px;
  color:rgba(0,0,0,.4);
  font-size:14px;
}

/* ============ SHARE STRIP (compact premium card) ============ */
.share-strip{
  display:grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap:14px;
  align-items:center;
  padding:14px;
  border-radius:16px;
}

.share-strip__title{
  font-weight:600;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:8px;
}
.share-strip__sub{
  font-weight:400;
  font-size:12px;
  opacity:.75;
}

.share-strip__left{
  display:flex;
  gap:12px;
  align-items:center;
}
.share-strip__qr .ws-qr{
  transform: scale(.78);
  transform-origin: left center;
}
.share-strip__qr{
  width:190px; /* QR alanını küçültür */
  overflow:hidden;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.share-strip__qr-form{
  margin-top:4px;
}

.share-strip__qr-select{
  width:100%;
}

.share-strip__qr-select select{
  width:100%;
  padding:6px 8px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:12px;
  cursor:pointer;
}

.share-strip__mid{ min-width: 0; }
.share-strip__label{
  display:block;
  font-size:12px;
  opacity:.75;
  margin-bottom:6px;
}
.share-strip__copy{
  display:flex;
  gap:10px;
  align-items:center;
}
.share-strip__copy .copy-input{
  width:100%;
  min-width:0;
}
.share-strip__hint{
  margin-top:6px;
  font-size:12px;
  opacity:.70;
}

.share-strip__right{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}

/* settings row helper (eğer sende yoksa) */
.settings-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.settings-title{ font-weight:600; color:#fff; }
.settings-desc{ font-size:12px; opacity:.7; margin-top:4px; }
.settings-actions{ display:flex; gap:10px; align-items:center; }

/* responsive */
@media (max-width: 900px){
  .share-strip{
    grid-template-columns: 1fr;
  }
  .share-strip__left{
    justify-content:space-between;
  }
  .share-strip__qr{ width: 100%; }
  .share-strip__qr .ws-qr{
    transform: scale(.9);
  }
  .share-strip__right{
    justify-content:flex-start;
  }
}

/* ============ GALLERY TOOLBAR ============ */
.gallery-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin:14px 0 10px;
}

.gallery-toolbar__left{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.gallery-title{
  margin:0;
  font-size:20px;
  font-weight:600;
  color:#fff;
}

.gallery-count{
  font-weight:400;
  font-size:14px;
  opacity:.7;
  margin-left:6px;
}

.gallery-sub{
  font-size:12px;
  opacity:.65;
}

.gallery-toolbar__right{
  display:flex;
  gap:10px;
  align-items:center;
}

.gallery-toolbar__right .btn{
  height: 36px;
  display:inline-flex;
  align-items:center;
}

/* ============ FULL WIDTH GRID ============ */
.upload-grid.full-width{
  width:100%;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap:14px;
}

/* upload card refine (küçük dokunuş) */
.upload-card{
  border-radius:14px;
}
.upload-card img,
.upload-card video{
  border-radius:12px;
}

/* mobile */
@media (max-width: 768px){
  .gallery-toolbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .gallery-toolbar__right{
    width:100%;
    justify-content:flex-start;
  }
}

/* ============ PLAN CARD ============ */
.plan-card{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  padding:14px;
  border-radius:16px;
  margin:12px 0 6px;
}
.plan-card__title{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:600;
}
.plan-pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  background: rgba(59,130,246,.14);
  border:1px solid rgba(59,130,246,.25);
}
.plan-card__meta{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
}
.plan-meta-item .k{ font-size:12px; opacity:.65; margin-right:6px; }
.plan-meta-item .v{ font-size:13px; font-weight:600; }
.plan-card__hint{ margin-top:8px; font-size:12px; opacity:.65; }
.plan-card__right{ display:flex; align-items:center; }
@media (max-width: 768px){
  .plan-card{ flex-direction:column; }
  .plan-card__right{ width:100%; }
  .plan-card__right .btn{ width:100%; justify-content:center; }
}

/* ============ UPLOAD CLOSED CARD (Guest) ============ */
.upload-closed-card{
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.upload-closed-card h3{
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.upload-closed-card p{
  margin: 0 0 16px 0;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
}
.closed-actions{
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ============ PRICING PAGE (Wedibox Style) ============ */
.ws-pricing{
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.ws-pricing__header{
  text-align: center;
  margin-bottom: 48px;
}
.ws-pricing__title{
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #171717;
}
.ws-pricing__subtitle{
  font-size: 18px;
  color: #666;
  margin: 0;
}
.ws-pricing__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 768px){
  .ws-pricing__grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Plan Card */
.ws-plan{
  position: relative;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.ws-plan:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.ws-plan--featured{
  border-color: #3b82f6;
  box-shadow: 0 10px 30px rgba(59,130,246,0.15);
  transform: scale(1.05);
}
@media (max-width: 768px){
  .ws-plan--featured{
    transform: scale(1);
  }
}
.ws-plan__badge{
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #6b7280;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ws-plan__badge--hot{
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.ws-plan__badge--premium{
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.ws-plan h3{
  margin: 24px 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #171717;
  text-align: center;
}
.ws-plan__price{
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #171717;
  margin-bottom: 24px;
}
.ws-plan__features{
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  flex: 1;
}
.ws-plan__features li{
  padding: 12px 0;
  font-size: 15px;
  color: #4b5563;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
}
.ws-plan__features li:last-child{
  border-bottom: none;
}
.ws-plan__features li:before{
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}
.ws-plan__form{
  margin: 0;
}
.ws-plan__cta{
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: block;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ws-plan__cta--primary{
  background: #3b82f6;
  color: #fff;
}
.ws-plan__cta--primary:hover{
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59,130,246,0.3);
}
.ws-plan--featured .ws-plan__cta--primary{
  background: #3b82f6;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.ws-plan--featured .ws-plan__cta--primary:hover{
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(59,130,246,0.4);
}
.ws-plan__cta--outline{
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}
.ws-plan__cta--outline:hover{
  background: #3b82f6;
  color: #fff;
}
.ws-plan__cta--muted{
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}
.ws-plan__cta--muted:hover{
  transform: none;
  box-shadow: none;
}
a.ws-plan__cta--muted{
  cursor: pointer;
}
a.ws-plan__cta--muted:hover{
  background: #e5e7eb;
  color: #4b5563;
}

/* === Event Manage Premium === */
.manage-page {
  /* Scope için genel container */
}

/* PREMIUM EVENT SUMMARY CARD */
.manage-summary-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  align-items: center;
  margin-bottom: 20px;
}

.manage-summary-card__left {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.manage-summary-card__cover {
  width: 100px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manage-summary-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.manage-summary-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: 0.4;
  color: #94a3b8;
}

.manage-summary-card__placeholder::before {
  content: '📷';
}

.manage-summary-card__info {
  min-width: 0;
}

.manage-summary-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px 0;
  color: #1e293b;
  word-wrap: break-word;
}

.manage-summary-card__date {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.manage-summary-card__middle {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.manage-summary-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.manage-summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.manage-summary-chip--plan {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.manage-summary-chip--success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.manage-summary-chip--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.manage-summary-chip--danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.manage-summary-chip--muted {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.manage-summary-card__times {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.manage-summary-time {
  white-space: nowrap;
}

.manage-summary-card__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.manage-summary-card__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* QR & LINK CARD */
.manage-qr-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  align-items: start;
  margin-bottom: 20px;
  position: relative;
  height: 100%; /* Soldaki kart ile aynı yükseklik */
}

.manage-qr-card__left {
  flex-shrink: 0;
}

.manage-qr-card__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.manage-qr-card__link-section {
  min-width: 0;
}

.manage-qr-card__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.manage-qr-card__copy {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.manage-qr-card__copy .copy-input {
  flex: 1;
  min-width: 200px;
}

.manage-qr-card__hint {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.manage-qr-card__template {
  position: absolute;
  bottom: 24px;
  right: 24px;
}

.manage-qr-card__template-form {
  display: flex;
  align-items: center;
}

.manage-qr-card__template select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

/* Payment Alert */
.manage-payment-alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.manage-payment-alert--rejected {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
}

/* Upgrade Card */
.manage-upgrade-card {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: 20px;
}

.manage-upgrade-card__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* GELİŞMİŞ AYARLAR (2 Sütun Desktop/Tablet) */
.manage-advanced-wrapper {
  margin-bottom: 20px;
}

.manage-advanced {
  margin-top: 12px;
}

.manage-advanced-grid.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.manage-advanced-card {
  /* Mevcut .settings-section stilleri korunuyor, sadece grid için ek class */
}

/* Desktop (>= 992px) - 2 sütun */
@media (min-width: 992px) {
  .manage-advanced-grid.settings-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .manage-advanced-card.danger {
    grid-column: 1 / -1; /* Danger zone tam genişlik */
  }
}

/* Tablet (768px - 991px) - 2 sütun */
@media (min-width: 768px) and (max-width: 991px) {
  .manage-advanced-grid.settings-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  
  .manage-advanced-card.danger {
    grid-column: 1 / -1;
  }
}

/* Mobil (<= 767px) - 1 sütun (alt alta) */
@media (max-width: 767px) {
  .manage-advanced-grid.settings-grid {
    grid-template-columns: 1fr;
  }
  
  /* Top row ve içindeki kartlar için genişlik düzeltmesi */
  .manage-wrap .manage-top-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .manage-wrap .manage-top-row > .manage-summary-card,
  .manage-wrap .manage-top-row > .manage-page .manage-qr-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  /* İçerik taşmasını önle */
  .manage-wrap .manage-top-row .manage-summary-card *,
  .manage-wrap .manage-top-row .manage-qr-card * {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  
  /* Input ve URL alanları için özel düzenleme */
  .manage-wrap .manage-top-row input,
  .manage-wrap .manage-top-row .copy-input {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  
  .manage-summary-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .manage-summary-card__left {
    flex-direction: column;
    align-items: flex-start;
  }

  .manage-summary-card__cover {
    width: 100%;
    height: 120px;
  }

  .manage-summary-card__middle {
    width: 100%;
  }

  .manage-summary-card__right {
    width: 100%;
  }

  .manage-summary-card__actions {
    width: 100%;
    flex-direction: column;
  }

  .manage-summary-card__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .manage-qr-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .manage-qr-card__template {
    position: static;
    margin-top: 12px;
  }

  .manage-upgrade-card__content {
    flex-direction: column;
    align-items: stretch;
  }

  .manage-upgrade-card__content .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === QR TASARIM STÜDYOSU === */
.qr-design-studio {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.qr-design-studio__header {
  margin-bottom: 20px;
}

.qr-design-studio__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #111;
}

.qr-design-studio__subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.qr-design-studio__templates {
  margin-bottom: 24px;
}

.qr-design-studio__recommended-header {
  margin-bottom: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.qr-design-studio__recommended-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qr-design-studio__recommended-subtitle {
  font-size: 13px;
  margin: 0;
  opacity: 0.95;
  color: #fff;
}

.qr-design-studio__templates-header {
  margin-bottom: 16px;
}

.qr-design-studio__templates-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.qr-design-studio__templates-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.qr-template-card {
  scroll-snap-align: start;
}

.qr-design-studio__templates-scroll::-webkit-scrollbar {
  height: 8px;
}

.qr-design-studio__templates-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.qr-design-studio__templates-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.qr-template-card {
  flex: 0 0 140px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qr-template-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.qr-template-card.is-selected {
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px) scale(1.02);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
  }
}

.qr-template-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.6);
  }
}

.qr-template-card--recommended {
  border-color: rgba(245, 158, 11, 0.3);
}

.qr-template-card--recommended:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.qr-template-card__category {
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 4px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qr-template-card__image {
  width: 100%;
  height: 100px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-template-card__skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.qr-template-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.qr-template-card__name {
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #111;
  background: #fff;
}

.qr-design-studio__preview {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.qr-design-preview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qr-design-preview--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.qr-design-preview__canvas-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.qr-design-preview__canvas-wrapper canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-design-preview__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 767px) {
  .qr-design-studio {
    padding: 18px;
  }

  .qr-design-studio__title {
    font-size: 18px;
  }

  .qr-template-card {
    flex: 0 0 120px;
  }

  .qr-template-card__image {
    height: 80px;
  }

  .qr-design-preview__actions {
    flex-direction: column;
  }

  .qr-design-preview__actions .btn {
    width: 100%;
  }
  
  .qr-design-studio__recommended-header {
    padding: 14px;
  }
  
  .qr-design-studio__recommended-title {
    font-size: 14px;
  }
  
  .qr-design-studio__recommended-subtitle {
    font-size: 12px;
  }
}

/* === QR TASARIM STÜDYOSU - METIN KONTROLLERI === */
.qr-design-studio__text-controls {
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  visibility: visible !important;
  opacity: 1 !important;
}

.qr-text-controls__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

.qr-text-controls__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #111;
}

.qr-text-controls__subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  opacity: 0.8;
}

.qr-text-controls__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qr-text-controls__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 sütun yan yana */
  gap: 16px;
}

.qr-text-controls__alignment {
  display: flex;
  gap: 8px;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 8px;
}

.qr-text-controls__align-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #64748b;
}

.qr-text-controls__align-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #3b82f6;
}

.qr-text-controls__align-btn.active {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.qr-text-controls__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-text-controls__group--full {
  grid-column: 1 / -1;
}

.qr-text-controls__label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.qr-text-controls__input {
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
  background: #fff;
  color: #111;
}

.qr-text-controls__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.qr-text-controls__slider-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-text-controls__slider {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.qr-text-controls__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  transition: all 0.2s;
}

.qr-text-controls__slider::-webkit-slider-thumb:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.qr-text-controls__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.qr-text-controls__slider::-moz-range-thumb:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.qr-text-controls__slider-value {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #3b82f6;
}

.qr-text-controls__color-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-text-controls__color {
  width: 50px;
  height: 40px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: none;
}

.qr-text-controls__color::-webkit-color-swatch-wrapper {
  padding: 0;
}

.qr-text-controls__color::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

.qr-text-controls__color-preview {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  display: block;
}

.qr-text-controls__select {
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: all 0.2s;
}

.qr-text-controls__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Tablet için 2 sütun */
@media (max-width: 1024px) and (min-width: 768px) {
  .qr-text-controls__row {
    grid-template-columns: repeat(2, 1fr); /* Tablet: 2 sütun */
  }
}

/* Mobil için alt alta */
@media (max-width: 767px) {
  .qr-text-controls__row {
    grid-template-columns: 1fr; /* Mobil: 1 sütun (alt alta) */
  }
  
  .qr-text-controls__group--full {
    grid-column: 1;
  }
}

/* === ADMIN PANEL === */
.admin-body {
  background: #f8fafc;
  min-height: 100vh;
}

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

/* SIDEBAR */
.admin-sidebar {
  width: 260px;
  background: #0f172a; /* bg-slate-900 */
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 1000;
}

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

.admin-sidebar__logo {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: #fff;
}

.admin-sidebar__subtitle {
  font-size: 12px;
  opacity: 0.7;
  margin: 0;
}

.admin-sidebar__nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  position: relative; /* Siteye Dön butonunun pozisyonlanması için */
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px; /* space-x-3 = 12px */
  padding: 12px 16px;
  border-radius: 8px;
  color: #94a3b8; /* text-slate-400 - daha açık gri */
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;

/* --- Manage Toolbar Butonları --- */
.manage-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px; /* Hepsi eşit yükseklik */
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Hover */
.manage-toolbar-btn:hover:not(:disabled) {
    background-color: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

/* Aktif Durum (Toggle İçin) */
.manage-toolbar-btn.is-active {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Disabled Durum */
.manage-toolbar-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f8fafc;
}

/* Modal Fix */
#publishModal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
  position: relative;
  border-left: 3px solid transparent; /* Hover/active için yer aç */
}

.admin-nav-item:hover {
  background: #1e293b; /* bg-slate-800 */
  color: #ffffff; /* text-white - tam beyaz */
  border-left: 3px solid #6366f1; /* border-l-4 border-indigo-500 */
}

.admin-nav-item.is-active {
  background: rgba(99, 102, 241, 0.1); /* bg-indigo-500/10 */
  color: #0f172a !important; /* Aktif menü yazı rengi - okunabilir */
  border-left: 3px solid #6366f1; /* border-l-4 border-indigo-500 */
}

.admin-nav-item--logout {
  margin-top: auto;
  color: rgba(239, 68, 68, 0.9);
}

.admin-nav-item--logout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.admin-nav-item__icon {
  font-size: 18px;
  width: 20px;
  text-align: center;
  flex-shrink: 0; /* İkon boyutunu sabitle */
}

.admin-nav-item__text {
  font-weight: 500;
}

/* Siteye Dön Butonu - Alt Kısımda Sabit */
.admin-nav-item--home {
  margin-top: auto;
  background: #4f46e5; /* bg-indigo-600 */
  color: #fff;
  border-radius: 8px; /* rounded-lg */
  border-left: none !important;
}

.admin-nav-item--home:hover {
  background: #4338ca; /* bg-indigo-700 - hover için daha koyu */
  color: #fff;
}

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

.admin-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.admin-header__user {
  font-size: 14px;
  color: #64748b;
}

.admin-content {
  flex: 1;
  padding: 32px;
}

/* ALERTS */
.admin-alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.admin-alert--success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.admin-alert--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

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

.admin-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.admin-stat-card--revenue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
}

.admin-stat-card__icon {
  font-size: 48px;
  line-height: 1;
}

.admin-stat-card__content {
  flex: 1;
}

.admin-stat-card__label {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 8px;
  font-weight: 500;
}

.admin-stat-card--revenue .admin-stat-card__label {
  opacity: 0.9;
}

.admin-stat-card__value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.admin-stat-card__badge {
  position: absolute;
  top: -8px;
  right: -20px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.admin-stat-card__trend {
  display: inline-block;
  margin-left: 8px;
  color: #10b981;
  font-size: 18px;
  font-weight: 700;
  vertical-align: middle;
}

.admin-table-row--pending {
  background: #fef3c7 !important; /* bg-yellow-50 */
  animation: pulse-bg 2s ease-in-out infinite;
}

@keyframes pulse-bg {
  0%, 100% {
    background-color: #fef3c7;
  }
  50% {
    background-color: #fde68a;
  }
}

/* SECTIONS */
.admin-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.admin-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-section__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.admin-link {
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.admin-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* TABLE */
.admin-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table thead {
  background: #f8fafc;
}

.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.admin-table tbody tr:hover {
  background: #f8fafc;
}

.admin-table-row--approved {
  background: rgba(16, 185, 129, 0.05) !important; /* bg-green-50/50 */
}

.admin-table-row--approved:hover {
  background: rgba(16, 185, 129, 0.1) !important;
}

.admin-table__primary {
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}

.admin-table__secondary {
  font-size: 12px;
  color: #94a3b8;
}

.admin-text-muted {
  color: #94a3b8;
}

/* BADGES */
.admin-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-badge--plan {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.admin-badge--success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.admin-badge--danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.admin-badge--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.admin-badge--default {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
}

/* BUTTONS */
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  gap: 8px;
}

.admin-btn--sm {
  padding: 6px 12px;
  font-size: 12px;
}

.admin-btn--primary {
  background: #3b82f6;
  color: #fff;
}

.admin-btn--primary:hover {
  background: #2563eb;
}

.admin-btn--secondary {
  background: #e2e8f0;
  color: #475569;
}

.admin-btn--secondary:hover {
  background: #cbd5e1;
}

.admin-btn--danger {
  background: #ef4444;
  color: #fff;
}

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

.admin-btn--block {
  width: 100%;
}

/* FILTER CARD */
.admin-filter-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.admin-filter-form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.admin-filter-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.admin-filter-form__group--grow {
  flex: 1;
  min-width: 250px;
}

.admin-filter-form__label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

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

/* INPUTS */
.admin-input {
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
  background: #fff;
  color: #111;
}

.admin-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

.admin-form-group {
  margin-bottom: 16px;
}

/* CARD */
.admin-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.admin-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #111;
}

/* EMPTY STATE */
.admin-empty {
  padding: 48px 24px;
  text-align: center;
  color: #94a3b8;
}

/* PAGINATION */
.admin-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

/* EVENTS LIST */
.admin-events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-event-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.admin-event-card__info {
  flex: 1;
}

.admin-event-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #111;
}

.admin-event-card__meta {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-event-card__stats {
  display: flex;
  gap: 24px;
  align-items: center;
}

.admin-event-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.admin-event-stat__label {
  font-size: 12px;
  color: #94a3b8;
}

.admin-event-stat__value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* ACTIONS GRID */
.admin-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .admin-sidebar {
    width: 240px;
  }
  .admin-main {
    margin-left: 240px;
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-actions-grid {
    grid-template-columns: 1fr;
  }
  .admin-filter-form {
    flex-direction: column;
  }
  .admin-filter-form__group {
    width: 100%;
  }
  .admin-table-wrapper {
    overflow-x: scroll;
  }
  
  .admin-stat-card__badge {
    top: -4px;
    right: -12px;
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* === ADMIN TOAST NOTIFICATION === */
.admin-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #10b981;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease-out;
  min-width: 280px;
  max-width: 400px;
}

.admin-toast--show {
  opacity: 1;
  transform: translateX(0);
}

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

.admin-toast__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.admin-toast__message {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* --- Manage Toolbar Butonları --- */
.manage-toolbar-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:42px;
  padding:0 16px;
  font-size:14px;
  font-weight:500;
  color:#475569;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:10px;
  cursor:pointer;
  transition:all .2s ease;
  white-space:nowrap;
  text-decoration:none;
  box-shadow:0 1px 2px rgba(0,0,0,.05);
}
.manage-toolbar-btn:hover:not(:disabled){
  background:#eff6ff;
  color:#2563eb;
  border-color:#bfdbfe;
}
.manage-toolbar-btn.is-active{
  background:#2563eb !important;
  color:#fff !important;
  border-color:#2563eb !important;
}
.manage-toolbar-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  background:#f8fafc;
}

/* Modal overlay fix (JS display:flex ile açacak) */
#publishModal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:9999;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(2px);
}

/* Heart Icon Styles */
.heart-icon {
  transition: transform .15s ease, color .15s ease;
}
.heart-icon.is-on {
  color: #ef4444 !important;
}
.heart-icon.is-on svg path {
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
}
.heart-btn:hover .heart-icon {
  transform: scale(1.05);
}

/* --- MODERN UI KIT --- */

/* 1. Premium Kart */
.premium-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 32px;
}

/* 2. Modern Input */
.modern-input {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s ease;
}
.modern-input:focus {
    background-color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}
.modern-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

/* 3. iOS Style Toggle Switch (Garantili Çalışır) */
.toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.toggle-wrapper:hover {
    border-color: #cbd5e1;
}
.toggle-checkbox {
    display: none; /* Checkbox'ı gizle */
}
.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background-color: #cbd5e1;
    border-radius: 9999px;
    transition: background-color 0.3s;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-checkbox:checked + .toggle-switch {
    background-color: #4f46e5; /* Indigo-600 */
}
.toggle-checkbox:checked + .toggle-switch::after {
    transform: translateX(22px);
}
.toggle-text h4 { font-size: 14px; font-weight: 600; color: #1e293b; margin:0; }
.toggle-text p { font-size: 12px; color: #64748b; margin: 2px 0 0 0; }

/* 4. Premium Button */
.btn-premium {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.btn-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}
.btn-premium:active {
    transform: translateY(0);
}
.btn-premium:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Danger Zone Styles */
.premium-card.danger {
    border-color: #fee2e2; /* Red-200 */
    background: #fff; /* Beyaz zemin daha temiz durur */
    background-image: linear-gradient(to bottom right, #fff, #fef2f2);
}
.premium-card.danger h3 {
    color: #991b1b; /* Red-800 */
}
.btn-danger-premium {
    width: 100%;
    background-color: #ffffff;
    color: #dc2626; /* Red-600 */
    border: 1px solid #fecaca; /* Red-200 */
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-danger-premium:hover {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

/* --- PREMIUM UI KIT (ÖZEL TASARIM) --- */

/* 1. Kart Yapısı */
.settings-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px; /* Yuvarlak köşeler */
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Çok hafif, modern gölge */
    margin-bottom: 24px;
}

/* 2. Başlıklar */
.settings-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 3. Modern Input Alanları */
.custom-input-group {
    margin-bottom: 20px;
}
.custom-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.custom-input {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: #334155;
    transition: all 0.2s ease;
}
.custom-input:focus {
    background-color: #ffffff;
    border-color: #6366f1; /* Indigo */
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* 4. iOS Style Switch (Aç/Kapa) */
.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.switch-row:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}
.switch-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}
.switch-content p {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}
/* Gizli Checkbox */
.switch-input { display: none; }
/* Anahtar Gövdesi */
.switch-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #cbd5e1;
    border-radius: 99px;
    transition: 0.3s;
}
/* Anahtar Topu */
.switch-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: 0.3s;
}
/* Aktif Durum */
.switch-input:checked + .switch-toggle {
    background-color: #4f46e5;
}
.switch-input:checked + .switch-toggle::after {
    transform: translateX(20px);
}

/* 5. Ana Kaydet Butonu */
.btn-save-primary {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    font-weight: 700;
    font-size: 15px;
    padding: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: transform 0.1s, box-shadow 0.2s;
}
.btn-save-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}
.btn-save-primary:active {
    transform: translateY(0);
}
.btn-save-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 6. Tehlikeli Bölge (Danger Zone) */
.danger-card {
    background: #fffafa; /* Çok açık kırmızı */
    border: 1px solid #fee2e2;
    border-radius: 16px;
    padding: 24px;
}
.danger-btn {
    width: 100%;
    background: #fff;
    color: #dc2626;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.danger-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

/* İKON BOYUTLANDIRMA (Dev İkonları Engelle) */
.icon-fixed {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
}

/* 2 SÜTUNLU IZGARA (Kesin Yan Yana) */
.settings-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ekran ne olursa olsun %50 %50 böl */
    gap: 16px;
    width: 100%;
}

/* Mobilde çok sıkışırsa alt alta geçsin (Opsiyonel güvenlik) */
@media (max-width: 640px) {
    .settings-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- MANAGE PAGE LAYOUT (Düzeltmeler) --- */

/* 1. Ana Kapsayıcı ve Grid Yapısı */
.manage-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.manage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Sayfayı ikiye bölen ızgara: Solda Sidebar (320px), Sağda İçerik */
.manage-grid {
    display: grid;
    grid-template-columns: 320px 1fr; /* Sol sabit, sağ esnek */
    gap: 24px;
    align-items: start;
}

/* Mobilde tek sütuna düşür */
@media (max-width: 992px) {
    .manage-grid {
        grid-template-columns: 1fr;
    }
    .manage-left {
        order: 2; /* Mobilde istatistikleri alta alabilirsin istersen */
    }
}

/* 2. Kart Tasarımları (Card Glass) */
.card-glass {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.manage-left .card-glass {
    position: sticky;
    top: 20px; /* Sayfa kayarken sol panelin sabit kalması için */
}

/* 3. QR Kod Alanı */
.qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.qr-box {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    display: inline-block;
}

.qr-box img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 4. İstatistik Kutuları (Grid içinde Grid) */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.stat-item {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color, #2563eb);
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
}

/* 5. Sağ Taraf - Medya Galerisi */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.media-item {
    position: relative;
    aspect-ratio: 1; /* Kare format */
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.media-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Boş durum (Empty State) */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

/* 6. Butonlar ve Linkler */
.share-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-share, .btn-download {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-share:hover, .btn-download:hover {
    background: #f1f5f9;
}

/* Başlık Altı Metinler */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ============================================
   ÜSTTEKİ İKİ KART: YAN YANA (DESKTOP)
   ============================================ */

/* Wrapper: Desktop'ta 2 kolon, mobilde tek kolon */
.manage-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px; /* Alttaki kart ile arasını aç */
}

@media (min-width: 1024px) {
    .manage-top-row {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        align-items: stretch; /* Kartların yüksekliğini eşitle */
        margin-bottom: 50px; /* Desktop'ta daha fazla boşluk */
    }
}

/* ============================================
   KAPAK GÖRSELİ: DİKEY FORMAT + OVERLAY
   ============================================ */

/* Kapak görseli container: Portrait format */
.manage-summary-card__cover {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3/4 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px;
}

.manage-summary-card__cover img,
.manage-summary-card__placeholder {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px;
    display: block;
}

/* Overlay: Başlık + Tarih */
.manage-cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    backdrop-filter: blur(4px);
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.manage-cover-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.manage-cover-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Mobil uyumluluk: Overlay padding azalt */
@media (max-width: 767px) {
    .manage-cover-overlay {
        padding: 16px 16px 14px;
    }
    
    .manage-cover-title {
        font-size: 18px;
    }
    
    .manage-cover-date {
        font-size: 13px;
    }
}

/* ============================================
   iOS EVENT CARD (Premium Summary Card)
   ============================================ */

.ios-event-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    padding: 24px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    align-items: flex-start;
    grid-template-columns: none !important;
    height: 100%; /* Sağdaki kart ile aynı yükseklik */
}

/* Kapak fotoğrafı ve içerik yan yana */
.ios-event-body {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    flex: 1; /* Kalan alanı doldur */
    align-items: stretch;
    width: 100%;
}

/* Kapak görseli - Sol tarafta, kart yüksekliği kadar */
.ios-event-cover {
    width: 200px !important;
    flex-shrink: 0;
    align-self: stretch; /* Kart yüksekliği kadar uzasın */
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-event-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ios-event-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    opacity: 0.4;
}

/* İçerik - Sağ tarafta, chip'ler ve butonlar */
.ios-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
    min-width: 0;
}

/* Başlık ve Tarih - Üstte, tam genişlik */
.ios-event-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.ios-event-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    margin: 0;
}

.ios-event-date {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

/* Chip'ler - Tek satır, küçük boyut */
.ios-event-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Butonlar - Alt kısım */
.ios-event-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobil uyumluluk */
@media (max-width: 767px) {
    .ios-event-card {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }
    
    .ios-event-body {
        flex-direction: column !important;
    }
    
    .ios-event-cover {
        width: 100% !important;
        height: 200px;
        border-radius: 14px;
    }
    
    .ios-event-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .ios-event-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============ Manage Page Mobile Overflow Fix (scoped) ============ */
@media (max-width: 767px) {
  .manage-wrap { 
    overflow-x: hidden; 
  }

  .manage-wrap .manage-top-row {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .manage-wrap .manage-summary-card,
  .manage-wrap .manage-qr-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* İçerik taşmalarını engelle */
  .manage-wrap .manage-summary-card *,
  .manage-wrap .manage-qr-card * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* QR kartı copy satırı mobilde alt alta insin */
  .manage-wrap .manage-qr-card__copy {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .manage-wrap .manage-qr-card__copy .copy-input {
    width: 100% !important;
  }
  .manage-wrap .manage-qr-card__copy .btn {
    width: 100% !important;
  }

  /* Chip satırı zaten wrap ama garanti olsun */
  .manage-wrap .manage-summary-chips {
    flex-wrap: wrap !important;
  }
}
/* =========================================================== */

