/* ===================================
   دعوة فرح - Dashboard Styles
   =================================== */

/* Dashboard Body */
.dashboard-body {
    background: var(--bg-secondary);
    font-family: var(--font-tajawal);
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* ===================================
   Sidebar
   =================================== */
.sidebar {
    background: var(--bg-dark);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform var(--transition-normal);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-close {
    display: none;
    background: none;
    color: white;
    font-size: 1.3rem;
}

.user-profile-mini {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-placeholder {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
}

.user-info-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.user-info-text span {
    font-size: 0.8rem;
    color: var(--primary-gold-light);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 15px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.sidebar-nav li a:hover,
.sidebar-nav li.active a {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold-light);
}

.sidebar-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Upgrade Card */
.sidebar-upgrade {
    margin: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.upgrade-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.sidebar-upgrade h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary-gold-light);
}

.sidebar-upgrade p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Logout Button */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: #FCA5A5;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #EF4444;
    color: #FEE2E2;
}

/* ===================================
   Main Content
   =================================== */
.main-content {
    margin-right: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
}

/* Top Header */
.top-header {
    background: white;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-box input {
    padding: 10px 40px 10px 15px;
    background: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    width: 250px;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    border-color: var(--primary-gold);
    background: white;
}

.header-btn {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header-btn:hover {
    background: var(--primary-gold-light);
    color: var(--bg-dark);
}

.notification-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 18px;
    height: 18px;
    background: #EF4444;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-btn:hover {
    background: var(--primary-gold-light);
}

.user-avatar-small {
    width: 35px;
    height: 35px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 0.9rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
}

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

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

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

.dropdown-menu hr {
    border-color: var(--bg-secondary);
    margin: 5px 0;
}

/* Content Wrapper */
.content-wrapper {
    padding: 30px;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Dashboard Sections */
.dashboard-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.dashboard-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.4s ease;
}

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

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

.section-header-row h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-row h3 i {
    color: var(--primary-gold);
}

.section-header-row a {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===================================
   Welcome Banner
   =================================== */
.welcome-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d44 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.welcome-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.4;
}

.welcome-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.welcome-image {
    position: relative;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 150px;
    height: 150px;
}

.float-item {
    position: absolute;
    font-size: 2.5rem;
    animation: floatItem 3s ease-in-out infinite;
}

.float-item.ring { top: 0; left: 50%; animation-delay: 0s; }
.float-item.heart { bottom: 20%; right: 0; animation-delay: 0.5s; }
.float-item.star { top: 30%; left: 0; animation-delay: 1s; }
.float-item.flower { bottom: 0; left: 30%; animation-delay: 1.5s; }

@keyframes floatItem {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

/* ===================================
   Stats Grid
   =================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue { background: #DBEAFE; color: #2563EB; }
.stat-icon.green { background: #D1FAE5; color: #059669; }
.stat-icon.gold { background: #FEF3C7; color: #D97706; }
.stat-icon.purple { background: #EDE9FE; color: #7C3AED; }

.stat-details h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================================
   Invitations List
   =================================== */
.invitations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.invitation-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.invitation-card:hover {
    box-shadow: var(--shadow-md);
}

.invitation-preview {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.classic-preview-sm { background: linear-gradient(135deg, #1a1a2e, #2d2d44); }
.modern-preview-sm { background: linear-gradient(135deg, #f8f9fa, #e9ecef); color: #333; }

.invitation-info {
    flex: 1;
}

.invitation-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.invitation-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.invitation-stats {
    display: flex;
    gap: 15px;
}

.invitation-stats span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* ===================================
   Create Wizard
   =================================== */
.create-wizard {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* Wizard Steps */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: var(--bg-secondary);
    border-bottom: 1px solid #e5e5e5;
    gap: 10px;
}

.wiz-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    transition: all var(--transition-normal);
}

.wiz-step.active .step-num,
.wiz-step.completed .step-num {
    background: var(--gradient-gold);
    border-color: var(--primary-gold);
    color: var(--bg-dark);
}

.wiz-step span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.wiz-step.active span {
    color: var(--primary-gold);
}

.wiz-step-line {
    width: 50px;
    height: 2px;
    background: #ddd;
}

.wiz-step-line.completed {
    background: var(--primary-gold);
}

/* Wizard Content */
.wizard-content {
    display: none;
    padding: 30px;
}

.wizard-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.form-grid .full-width {
    grid-column: 1 / -1;
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Slug Input */
.slug-input {
    display: flex;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.slug-input:focus-within {
    border-color: var(--primary-gold);
}

.slug-prefix {
    padding: 12px 16px;
    background: var(--primary-gold-light);
    color: var(--bg-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.slug-input input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding-right: 16px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-secondary);
}

.upload-area:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.05);
}

.upload-area i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.upload-area p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.upload-area span {
    color: var(--primary-gold);
    font-weight: 600;
}

.upload-area small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
}

/* Music Upload */
.music-upload {
    display: flex;
    gap: 10px;
}

.music-upload input {
    flex: 1;
}

/* Wizard Buttons */
.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.wizard-buttons.final {
    justify-content: space-between;
}

/* ===================================
   Template Selector (Dashboard)
   =================================== */
.template-selector {
    margin-bottom: 30px;
}

.template-selector > h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.templates-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.template-option {
    cursor: pointer;
}

.template-option input {
    display: none;
}

.template-thumb {
    height: 120px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    border: 3px solid transparent;
    transition: all var(--transition-normal);
}

.classic-thumb { background: linear-gradient(135deg, #1a1a2e, #2d2d44); }
.modern-thumb { background: linear-gradient(135deg, #f8f9fa, #e9ecef); color: #333; }
.romantic-thumb { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c2185b; }
.islamic-thumb { background: linear-gradient(135deg, #1b5e20, #2e7d32); color: #c8e6c9; }
.bohemian-thumb { background: linear-gradient(135deg, #fff8e1, #ffecb3); color: #8d6e63; }
.royal-thumb { background: linear-gradient(135deg, #212121, #424242); color: #ffd700; }

.template-option input:checked + .template-thumb {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.template-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* Color Customization */
.color-customization {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.color-customization h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-customization h5 i {
    color: var(--primary-gold);
}

.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.color-option {
    cursor: pointer;
    text-align: center;
}

.color-option input {
    display: none;
}

.color-preview {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 5px;
    border: 3px solid transparent;
    transition: all var(--transition-fast);
}

.color-option input:checked + .color-preview {
    border-color: var(--text-primary);
    transform: scale(1.1);
}

.color-preview.custom {
    background: var(--bg-secondary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
}

.color-option span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===================================
   AI Assistant Box
   =================================== */
.ai-assistant-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 25px;
}

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

.ai-header i {
    color: #8B5CF6;
    font-size: 1.3rem;
}

.ai-header span {
    font-weight: 700;
    color: var(--text-primary);
}

.ai-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===================================
   Preview & Publish
   =================================== */
.preview-publish {
    /* Container for step 4 content */
}

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

.preview-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-header h4 i {
    color: var(--primary-gold);
}

.mini-preview-frame {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.phone-frame-mini {
    width: 280px;
    height: 520px;
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-radius: 35px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.preview-screen-mini {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    text-align: center;
    color: var(--text-light);
}

.preview-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

/* Publish Options */
.publish-options {
    margin-bottom: 25px;
}

.publish-options h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-card {
    background: var(--bg-secondary);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.toggle-option input {
    display: none;
}

.toggle-switch-custom {
    width: 48px;
    height: 26px;
    background: #ddd;
    border-radius: 13px;
    position: relative;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.toggle-switch-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.toggle-option input:checked + .toggle-switch-custom {
    background: var(--primary-gold);
}

.toggle-option input:checked + .toggle-switch-custom::after {
    right: 25px;
}

.option-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.option-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Invitation URL Box */
.invitation-url-box {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.invitation-url-box h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.url-display {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.url-display code {
    flex: 1;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.qr-code-preview {
    text-align: center;
}

.qr-code-preview canvas,
.qr-code-preview img {
    max-width: 150px;
    margin: 0 auto;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--text-light);
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(16, 185, 129, 0.4);
}

/* ===================================
   AI Writer Section
   =================================== */
.ai-writer-section {
    max-width: 800px;
}

.ai-writer-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.ai-writer-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.ai-icon-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.ai-writer-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.ai-writer-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ai-result {
    margin-top: 25px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-gold-light);
}

.ai-result h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-content {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    line-height: 1.8;
    margin-bottom: 15px;
    white-space: pre-wrap;
}

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===================================
   Settings Section
   =================================== */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.settings-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.settings-card > h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-card > h4 i {
    color: var(--primary-gold);
}

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

.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-settings .toggle-option span {
    font-size: 0.95rem;
}

/* ===================================
   Empty State
   =================================== */
.empty-state {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ===================================
   Responsive Design for Dashboard
   =================================== */

/* Large Desktops (1400px+) */
@media (min-width: 1400px) {
    .content-wrapper {
        padding: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1025px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets Landscape & Small Laptops */
@media (max-width: 1280px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .templates-grid-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-content h2 {
        font-size: 1.75rem;
    }
}

/* Tablets Portrait */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-right: 0;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .sidebar-close {
        display: block;
    }
    
    .welcome-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .welcome-image {
        margin-top: 20px;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .top-header {
        padding: 15px 25px;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px 15px;
    }
    
    .top-header {
        padding: 15px 20px;
    }
    
    .search-box {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid .full-width {
        grid-column: 1;
    }
    
    .wizard-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .wiz-step-line {
        display: none;
    }
    
    .templates-grid-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .invitation-card {
        flex-direction: column;
        text-align: center;
    }
    
    .invitation-info {
        text-align: center;
    }
    
    .invitation-stats {
        justify-content: center;
    }
    
    .color-options {
        justify-content: center;
    }
    
    .welcome-banner {
        padding: 25px 20px;
    }
    
    .welcome-content h2 {
        font-size: 1.5rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .content-wrapper {
        padding: 15px 10px;
    }
    
    .page-title {
        font-size: 1.2rem;
    }
    
    .welcome-content h2 {
        font-size: 1.3rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .templates-grid-dashboard {
        grid-template-columns: 1fr;
    }
}
