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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

header {
    text-align: center;
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    flex: 1;
    text-align: center;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    position: relative;
}

.user-info i {
    font-size: 1.2rem;
}

.logout-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.back-btn {
    position: absolute;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
}

.back-btn i {
    margin-right: 8px;
}

header h1 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

header h1 i {
    margin-right: 15px;
    color: #ffd700;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Authentication Styles */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.auth-header h2 {
    color: #4a5568;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: #718096;
    font-size: 1rem;
}

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

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

.auth-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

.auth-form .form-group label i {
    margin-right: 8px;
    color: #667eea;
}

.auth-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.auth-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    color: #718096;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

.message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.message i {
    margin-right: 8px;
}

/* Home Page Styles */
.home-content {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-section {
    margin-bottom: 40px;
}

.welcome-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.welcome-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.welcome-card h2 {
    color: #4a5568;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.welcome-card p {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 32px;
    width: 100%;
    justify-content: center;
    margin-bottom: 32px;
}

.action-card {
    flex: 1 1 0;
    max-width: 420px;
    min-width: 0;
    width: 100%;
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.action-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.action-card h3 {
    color: #4a5568;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.action-card p {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.5;
}

.action-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-item {
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.stat-item i {
    margin-right: 5px;
    color: #667eea;
}

.quick-stats {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card i {
    font-size: 2rem;
    color: #667eea;
}

.stat-info {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #4a5568;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
}

/* Page Content Styles */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.section-header h2 {
    color: #4a5568;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.section-header h2 i {
    color: #2d3748 !important;
    opacity: 1 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.section-header p {
    color: #718096;
    font-size: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.form-group label i {
    color: #667eea;
    margin-right: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary {
    padding: 12px 25px;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.btn-add {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 2;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Recent Products */
.recent-products {
    margin-top: 40px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.recent-products h3 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.recent-products h3 i {
    color: #667eea;
    margin-right: 10px;
}

.recent-products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-product-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.recent-product-info {
    flex: 1;
}

.recent-product-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 3px;
}

.recent-product-details {
    font-size: 0.85rem;
    color: #718096;
}

/* Main Content (Old Layout) */
.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

/* Add Product Section */
.add-product-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.add-product-section h2 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.add-product-section h2 i {
    color: #667eea;
    margin-right: 10px;
}

/* Toggle Switch Styles */
.toggle-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.toggle-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #667eea;
}

/* Shopping List Section */
.shopping-list-section {
    margin-bottom: 36px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.shopping-list-section h2 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.shopping-list-section h2 i {
    color: #667eea;
    margin-right: 10px;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f7fafc;
}

.tab-btn {
    padding: 10px 15px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
}

.tab-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tab-btn i {
    margin-right: 8px;
}

/* Products List */
.products-container {
    max-height: 400px;
    overflow-y: auto;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.product-item.completed {
    background: #f0fff4;
    border-left-color: #48bb78;
    opacity: 0.7;
}

.product-item.completed .product-name {
    text-decoration: line-through;
    color: #718096;
}

.product-item.hidden {
    display: none;
}

.product-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #48bb78;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.product-details {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #718096;
}

.product-category {
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-quantity {
    font-style: italic;
}

.delete-btn {
    background: #fed7d7;
    color: #c53030;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: #feb2b2;
    transform: scale(1.1);
}

/* Summary */
.summary {
    display: flex;
    justify-content: space-around;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #f7fafc;
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #cbd5e0;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #4a5568;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    .action-card {
        max-width: 100%;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    
    .summary {
        flex-direction: column;
        gap: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .toggle-section {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .back-btn {
        position: static;
        margin-bottom: 20px;
    }
    
    .header-content {
        flex-direction: column;
    }
}

/* Scrollbar Styling */
.products-container::-webkit-scrollbar {
    width: 8px;
}

.products-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.products-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.products-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* --- Form başlıkları ve açıklama metinleri için kontrastı artır --- */
.section-header h2, .section-header p, .form-group label {
    color: #2d3748 !important;
    font-weight: 600;
}

.section-header p {
    color: #4a5568 !important;
    font-weight: 400;
}

/* --- Textarea'yı modern ve geniş yap --- */
.form-group textarea {
    width: 100%;
    min-height: 60px;
    max-width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    color: #2d3748;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* --- Placeholder rengi daha koyu --- */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #718096;
    opacity: 1;
}

/* --- Form başlıkları için ekstra belirginlik --- */
.form-group label {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

/* --- Butonlar arası boşluk --- */
.form-actions {
    display: flex;
    gap: 20px;
}

/* Liste Detay Sayfası Stilleri */
.list-detail-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.list-info {
    margin-bottom: 30px;
}

.list-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f7fafc;
}

.list-header h2 {
    color: #4a5568;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.list-header p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.list-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.list-date, .list-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-status.active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff !important;
}

.list-status.inactive {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.list-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.list-actions button {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.list-actions .btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.list-actions .btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.list-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.list-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.list-actions .btn-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
}

.list-actions .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
}

.products-section {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
}

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

.products-section .section-header h3 {
    color: #4a5568;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-section .section-header h3 i {
    color: #667eea;
}

.product-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

.products-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    gap: 15px;
}

.product-item:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateX(5px);
}

.product-item.completed {
    background: #f0fff4;
    border-color: #9ae6b4;
    opacity: 0.8;
}

.product-item.completed .product-name {
    text-decoration: line-through;
    color: #718096;
}

.product-checkbox {
    display: flex;
    align-items: center;
}

.product-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    accent-color: #667eea;
}

.product-checkbox input[type="checkbox"]:checked {
    background: #667eea;
    border-color: #667eea;
}

.product-checkbox input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f7fafc;
    border-color: #e2e8f0;
}

.product-checkbox input[type="checkbox"]:disabled:checked {
    background: #a0aec0;
    border-color: #a0aec0;
}

.info-message {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border: 1px solid #81e6d9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    color: #2c7a7b;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(129, 230, 217, 0.2);
}

.info-message i {
    font-size: 1.2rem;
    color: #38b2ac;
}

.info-message strong {
    font-weight: 600;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.product-details {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-quantity {
    color: #718096;
    font-weight: 500;
    font-size: 0.9rem;
}

.delete-btn {
    background: #fed7d7;
    color: #e53e3e;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: #feb2b2;
    transform: scale(1.1);
}

.summary {
    display: flex;
    justify-content: space-around;
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.summary-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.summary-label {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    color: #4a5568;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 15px;
}

.empty-state h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-state p {
    color: #a0aec0;
    font-size: 1rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .list-detail-section {
        padding: 20px;
        margin: 10px;
    }
    
    .list-header h2 {
        font-size: 1.5rem;
    }
    
    .list-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .list-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .list-actions button {
        width: 100%;
        max-width: 300px;
    }
    
    .products-section .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .delete-btn {
        align-self: flex-end;
    }
    
    .summary {
        flex-direction: column;
        align-items: center;
    }
    
    .summary-item {
        width: 100%;
        text-align: center;
    }
}

/* Ana Sayfa Alışveriş Listesi Kartları */
.shopping-lists-container {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

.shopping-list-item {
    background: white;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.08), 0 1.5px 6px rgba(102, 126, 234, 0.04);
    padding: 28px 32px;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 6px solid #667eea;
    position: relative;
    align-items: center;
    text-align: center;
}

/* Paylaşım rozeti */
.sharing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
    z-index: 10;
    animation: fadeInScale 0.3s ease-out;
    transition: all 0.3s ease;
}

.sharing-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.sharing-badge i {
    font-size: 0.75rem;
}

.shared-count {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.7rem;
    min-width: 16px;
    text-align: center;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.shopping-list-item:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.18), 0 3px 12px rgba(102, 126, 234, 0.08);
    transform: translateY(-3px) scale(1.01);
    border-left: 6px solid #764ba2;
}

.shopping-list-item .list-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 2px;
    text-align: center;
    width: 100%;
}

.shopping-list-item .list-desc {
    color: #718096;
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.shopping-list-item .list-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.98rem;
    margin-top: 6px;
    justify-content: center;
}

.shopping-list-item .list-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.shopping-list-item .list-status {
    padding: 4px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.shopping-list-item .list-status.active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff !important;
}

.shopping-list-item .list-status.inactive {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

@media (max-width: 768px) {
    .shopping-list-item {
        padding: 18px 12px;
    }
    .shopping-lists-container {
        gap: 14px;
    }
    .shopping-list-item .list-title {
        font-size: 1.1rem;
    }
    .shopping-list-item .list-desc {
        font-size: 0.95rem;
    }
    .shopping-list-item .list-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    /* Mobil için paylaşım rozeti */
    .sharing-badge {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .sharing-badge i {
        font-size: 0.65rem;
    }
    
    .shared-count {
        padding: 1px 4px;
        font-size: 0.6rem;
        min-width: 14px;
    }
}

/* Yeni Liste Oluştur Sayfası İkonları */
.add-list-section .section-header i,
.add-list-section .form-group label i {
    color: #4a5568 !important;
    filter: none !important;
    opacity: 1 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.form-group label i {
    color: #4a5568 !important;
    opacity: 1 !important;
}

.section-header i {
    color: #667eea !important;
    opacity: 1 !important;
}

.autocomplete-dropdown {
    position: absolute;
    background: white;
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 2px;
    font-size: 1rem;
}
.autocomplete-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.autocomplete-item:hover {
    background: #f3f6fd;
    color: #4a5568;
}
.form-group { position: relative; }

.shopping-lists-section .section-header,
.shopping-lists-section .section-header h2,
.shopping-lists-section .section-header p {
    color: #fff !important;
}

/* Yeni Liste Oluştur Sayfası Teması */
.add-list-section .section-header,
.add-list-section .section-header h2,
.add-list-section .section-header p {
    color: #fff !important;
}

.add-list-section .section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.add-list-section .section-header p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 24px;
}

.add-list-section .form-group {
    background: rgba(255,255,255,0.85);
    border-radius: 14px;
    padding: 18px 22px 10px 22px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
}

.add-list-section .form-group label,
.add-list-section .form-group label i,
.add-list-section .form-group legend,
.add-list-section .form-group .form-label {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.add-list-section .form-group input,
.add-list-section .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.08rem;
    margin-top: 6px;
    background: #fff;
    transition: all 0.3s;
}

.add-list-section .form-group input:focus,
.add-list-section .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.add-list-section .form-actions {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.add-list-section .btn-add {
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 2;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
}

.add-list-section .btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.18);
}

.add-list-section .btn-secondary {
    padding: 14px 30px;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.add-list-section .btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.add-list-section .recent-lists h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-list-section .recent-lists-list {
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
}

.add-list-section,
.add-list-section *:not(input):not(textarea):not(select):not(button):not(.form-group):not(.form-group *):not(.btn-add):not(.btn-secondary) {
    color: #fff !important;
}

/* .add-list-section ve .create-list-section için ortak stiller */
.add-list-section .section-header,
.create-list-section .section-header,
.add-list-section .section-header h2,
.create-list-section .section-header h2,
.add-list-section .section-header p,
.create-list-section .section-header p {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.add-list-section .section-header h2,
.create-list-section .section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.add-list-section .section-header p,
.create-list-section .section-header p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 24px;
}

.add-list-section .form-group,
.create-list-section .form-group {
    background: rgba(255,255,255,0.85);
    border-radius: 14px;
    padding: 18px 22px 10px 22px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
}

.add-list-section .form-group label,
.create-list-section .form-group label,
.add-list-section .form-group label i,
.create-list-section .form-group label i,
.add-list-section .form-group legend,
.create-list-section .form-group legend,
.add-list-section .form-group .form-label,
.create-list-section .form-group .form-label {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.add-list-section .form-group input,
.create-list-section .form-group input,
.add-list-section .form-group textarea,
.create-list-section .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.08rem;
    margin-top: 6px;
    background: #fff;
    transition: all 0.3s;
}

.add-list-section .form-group input:focus,
.create-list-section .form-group input:focus,
.add-list-section .form-group textarea:focus,
.create-list-section .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.add-list-section .form-actions,
.create-list-section .form-actions {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.add-list-section .btn-add,
.create-list-section .btn-add {
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 2;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
}

.add-list-section .btn-add:hover,
.create-list-section .btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.18);
}

.add-list-section .btn-secondary,
.create-list-section .btn-secondary {
    padding: 14px 30px;
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.add-list-section .btn-secondary:hover,
.create-list-section .btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.add-list-section .recent-lists h3,
.create-list-section .recent-lists h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-list-section .recent-lists-list,
.create-list-section .recent-lists-list {
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
}

.create-list-section,
.create-list-section *:not(input):not(textarea):not(select):not(button):not(.form-group):not(.form-group *):not(.btn-add):not(.btn-secondary) {
    color: #fff !important;
}

.create-list-section label[for='listName'],
.create-list-section label[for='listName'] i,
.create-list-section label[for='listDescription'],
.create-list-section label[for='listDescription'] i,
.add-list-section label[for='listName'],
.add-list-section label[for='listName'] i,
.add-list-section label[for='listDescription'],
.add-list-section label[for='listDescription'] i {
    color: #222 !important;
    text-shadow: none !important;
}

.create-list-section .btn-secondary i,
.create-list-section .btn-secondary svg,
.create-list-section .btn-secondary i::before,
.add-list-section .btn-secondary i,
.add-list-section .btn-secondary svg,
.add-list-section .btn-secondary i::before {
    color: #222 !important;
    fill: #222 !important;
}

.create-list-section .btn-secondary i,
.create-list-section .btn-add i {
    margin-right: 8px;
}

/* Complete Shopping Button Styles */
.complete-shopping-section {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.complete-shopping-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.complete-shopping-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.complete-shopping-btn:active {
    transform: translateY(0);
}

.complete-shopping-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.complete-shopping-btn i {
    font-size: 1.2rem;
}

/* Mobile responsive for complete shopping button */
@media (max-width: 768px) {
    .complete-shopping-section {
        margin-top: 20px;
        padding: 15px;
    }
    
    .complete-shopping-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    font-size: 1.2rem;
    color: #ffd700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.modal-body .form-group {
    margin-bottom: 0;
}

.modal-body .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
}

.modal-body .form-group label i {
    color: #667eea;
    font-size: 1.1rem;
}

.modal-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: #4a5568;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
}

.modal-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.modal-select:hover {
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.modal-select option {
    padding: 12px;
    font-size: 1rem;
    background: white;
    color: #4a5568;
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.modal-footer .btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.modal-footer .btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-footer .btn-primary:active {
    transform: translateY(0);
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95vw;
        margin: 20px;
    }
    
    .modal-header {
        padding: 20px 24px 16px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-footer {
        padding: 16px 24px 24px;
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
        justify-content: center;
    }
}

/* Shopping Lists Tabs */
.lists-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.list-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: #64748b;
    position: relative;
    font-size: 0.95rem;
}

.list-tab-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateY(-1px);
}

.list-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.list-tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.list-tab-btn i {
    font-size: 1.1rem;
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.list-tab-btn:not(.active) .tab-count {
    background: #e2e8f0;
    color: #64748b;
}

.lists-tab-content {
    position: relative;
}

.list-tab-panel {
    display: none;
    animation: fadeInUp 0.3s ease-out;
}

.list-tab-panel.active {
    display: block;
}

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

/* Responsive Tabs */
@media (max-width: 768px) {
    .lists-tabs {
        flex-direction: column;
        gap: 4px;
    }
    
    .list-tab-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .tab-count {
        font-size: 0.75rem;
        padding: 1px 6px;
    }
}

/* Show More Button */
.show-more-section {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding: 16px 0;
}

.show-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.show-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.show-more-btn:hover::before {
    left: 100%;
}

.show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.show-more-btn:active {
    transform: translateY(0);
}

.show-more-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.show-more-btn:hover i {
    transform: translateY(2px);
}

.remaining-count {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive Show More Button */
@media (max-width: 768px) {
    .show-more-section {
        margin-top: 20px;
        padding: 12px 0;
    }
    
    .show-more-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .remaining-count {
        font-size: 0.8rem;
    }
}

/* Paylaşım Stilleri */
.list-sharing {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.sharing-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.9rem;
}

.sharing-info i {
    color: #ffd700;
}

.shared-users {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shared-user-list-item {
    display: flex;
    align-items: center;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 18px;
    padding: 7px 16px 7px 10px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.07);
    font-size: 1rem;
    color: #333;
    transition: box-shadow 0.2s;
    position: relative;
}
.shared-user-list-item:hover {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.13);
    background: rgba(102, 126, 234, 0.13);
}
.shared-user-list-item .shared-user-name {
    font-weight: 600;
    margin-left: 6px;
    color: #4a56e2;
    display: flex;
    align-items: center;
    gap: 6px;
}
.shared-user-list-item::before {
    content: '\f007'; /* FontAwesome user icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffd700;
    margin-right: 10px;
    font-size: 1.1em;
}
.shared-user-list-item .remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    margin-left: auto;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 50%;
    padding: 4px 7px;
    transition: background 0.2s;
}
.shared-user-list-item .remove-btn:hover {
    background: #ffeaea;
}

/* Liste sahibi için özel stiller */
.shared-user-list-item.owner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
}

.shared-user-list-item.owner:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 193, 7, 0.15) 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.shared-user-list-item.owner::before {
    content: '\f521'; /* FontAwesome crown icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffd700;
    margin-right: 10px;
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shared-user-list-item.owner .shared-user-name.owner-name {
    color: #d4af37;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.shared-user-list-item.owner .shared-user-name.owner-name i {
    color: #ffd700;
    margin-right: 6px;
    font-size: 1.1em;
}

.shared-user-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.shared-user-tag .remove-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.7rem;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.shared-user-tag .remove-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.list-sharing .sharing-info span {
    color: #222;
    font-weight: 600;
}

.shared-user-name {
    color: #222 !important;
    font-weight: 600;
}

/* Daha Önce Paylaşılan Kişiler Stilleri */
.recent-shared-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.recent-shared-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-shared-section h4 i {
    color: #ffd700;
}

.recent-shared-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.recent-user-item:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recent-user-item .user-info-display {
    flex: 1;
}

.recent-user-item .user-name {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.recent-user-item .user-email {
    color: rgba(51, 51, 51, 0.7);
    font-size: 0.85rem;
}

.recent-user-item .interaction-info {
    color: #888;
    font-size: 0.8rem;
    margin-top: 4px;
    font-style: italic;
}

.recent-user-item .interaction-info small {
    color: #999;
}

.recent-user-item .add-user-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.recent-user-item .add-user-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.recent-user-item .add-user-btn:active {
    transform: translateY(0);
}

/* Paylaşım durumu göstergeleri */
.share-status-pending {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    cursor: default;
}

.share-status-accepted {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    cursor: default;
}

.share-status-pending i,
.share-status-accepted i {
    font-size: 0.9rem;
}

.no-recent-users {
    color: rgba(51, 51, 51, 0.6);
    text-align: center;
    padding: 20px;
    font-style: italic;
    font-size: 0.9rem;
}

/* Paylaşım Modal Güncellemeleri */
.shared-users-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shared-users-section h4 i {
    color: #ffd700;
}

/* Geçici Bildirim Mesajları */
.notification-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
    word-wrap: break-word;
}

.notification-message.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification-message.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification-message.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.notification-message.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-message.removing {
    animation: slideOutRight 0.3s ease-in;
}

/* Modal Stilleri */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    color: #4a5568;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #667eea;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f7fafc;
    color: #4a5568;
}

.modal-body {
    padding: 20px;
}

.share-section {
    margin-bottom: 25px;
}

.share-section label {
    display: block;
    margin-bottom: 10px;
    color: #4a5568;
    font-weight: 500;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-container input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #5a67d8;
}

.search-results {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #f7fafc;
    transition: background 0.3s ease;
}

.search-result-item:hover {
    background: #f7fafc;
}

.search-result-item:last-child {
    border-bottom: none;
}

.user-info-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 500;
    color: #4a5568;
}

.user-email {
    font-size: 0.8rem;
    color: #718096;
}

.add-user-btn {
    background: #48bb78;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.add-user-btn:hover {
    background: #38a169;
}

.add-user-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

/* Arama sonuçları için paylaşım durumu göstergeleri */
.search-result-item .share-status-pending {
    background: linear-gradient(135deg, #ffa726, #ff9800);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    cursor: default;
}

.search-result-item .share-status-accepted {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    cursor: default;
}

.search-result-item .share-status-pending i,
.search-result-item .share-status-accepted i {
    font-size: 0.9rem;
}

.shared-users-section h4 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.shared-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shared-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.shared-user-item .user-info-display {
    flex: 1;
}

.remove-user-btn {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.remove-user-btn:hover {
    background: #c53030;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .shared-user-item {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .remove-user-btn {
        align-self: flex-end;
    }
}

/* Paylaşım Badge Stilleri */
.shared-badge {
    background: #48bb78;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 500;
}

.shopping-list-item .list-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #718096;
}

.shopping-list-item .list-meta span i {
    font-size: 0.7rem;
    color: #667eea;
}

/* Chat Section Styles */
.chat-section {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    animation: slideInUp 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.chat-section.closing {
    animation: slideOutDown 0.3s ease;
}

.chat-section .section-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.chat-section .section-header h3 {
    margin: 0;
    color: #4a5568;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-section .section-header h3 i {
    color: #667eea;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 400px;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    animation: fadeInUp 0.3s ease;
}

.chat-message.own-message {
    align-self: flex-end;
}

.chat-message.other-message {
    align-self: flex-start;
}

.chat-message-content {
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.chat-message.own-message .chat-message-content {
    background: #667eea;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.other-message .chat-message-content {
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.chat-message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.8rem;
}

.chat-message.own-message .chat-message-header {
    justify-content: flex-end;
    color: #667eea;
}

.chat-message.other-message .chat-message-header {
    color: #718096;
}

.chat-message-username {
    font-weight: 500;
}

.chat-message-time {
    opacity: 0.7;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chat-input-container input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    resize: none;
}

.chat-input-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chat-send-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-btn:hover {
    background: #5a67d8;
    transform: scale(1.05);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.chat-send-btn i {
    font-size: 1rem;
}

.chat-send-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.chat-send-btn:disabled:hover {
    background: #cbd5e0;
    transform: none;
}

.chat-input-container input:disabled {
    background: #f7fafc;
    cursor: not-allowed;
    opacity: 0.7;
}

.chat-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #718096;
    text-align: center;
    padding: 20px;
}

.chat-empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.chat-empty-state h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.chat-empty-state p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Chat scrollbar styles */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

@media (max-width: 768px) {
    .chat-container {
        height: calc(100% - 60px);
        display: flex;
        flex-direction: column;
    }
    
    .chat-messages {
        flex: 1;
        padding: 12px;
        overflow-y: auto;
        max-height: calc(100vh - 280px);
    }
    
    .chat-message {
        max-width: 85%;
        margin-bottom: 8px;
    }
    
    .chat-message-content {
        padding: 10px 14px;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .chat-input-container {
        padding: 10px 12px;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #e2e8f0;
        flex-shrink: 0;
    }
    
    .chat-input-container input {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 20px;
        min-height: 36px;
    }
    
    .chat-send-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        flex-shrink: 0;
    }
    
    .chat-send-btn i {
        font-size: 0.85rem;
    }
}

/* Floating Chat Bubble Styles */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 80px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.chat-bubble:active {
    transform: scale(0.95);
}

.chat-bubble-icon {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.chat-bubble:hover .chat-bubble-icon {
    transform: scale(1.1);
}

.chat-bubble-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    background: #e53e3e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    border: 2px solid white;
    padding: 0 4px;
    box-sizing: border-box;
}

.chat-bubble-notification #unreadCount {
    font-size: 0.65rem;
    line-height: 1;
}



/* Chat bubble responsive */
@media (max-width: 768px) {
    .chat-bubble {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .chat-bubble-icon {
        font-size: 1.3rem;
    }
    
    .chat-section {
        bottom: 90px;
        right: 10px;
        left: 10px;
        width: calc(100vw - 20px);
        height: calc(100vh - 200px);
        max-height: 500px;
        min-height: 350px;
    }
    
    .chat-container {
        height: calc(100% - 60px);
    }
    
    .chat-messages {
        padding: 12px;
        max-height: calc(100vh - 280px);
    }
    
    .chat-message {
        max-width: 85%;
        margin-bottom: 8px;
    }
    
    .chat-message-content {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .chat-input-container {
        padding: 10px 12px;
        position: sticky;
        bottom: 0;
        background: white;
    }
    
    .chat-input-container input {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .chat-send-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .chat-send-btn i {
        font-size: 0.85rem;
    }
    
    .chat-section .section-header {
        padding: 12px 15px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .chat-section .section-header h3 {
        font-size: 1rem;
    }
    
    /* Mobil cihazlarda sohbet kutusunun daha iyi görünmesi için */
    .chat-section {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
    }
    
    /* Mobil cihazlarda input alanının daha iyi çalışması için */
    .chat-input-container input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    /* Mobil cihazlarda scroll davranışını iyileştirme */
    .chat-messages {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* Bildirim Zili ve Paneli */
.notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 16px;
    cursor: pointer;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-bell:hover {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.notification-bell:active {
    transform: scale(0.95);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.9);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    }
}

.notification-panel {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 450px;
    max-height: 650px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2000;
    animation: slideInNotification 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    transform-origin: top right;
}

@keyframes slideInNotification {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notification-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.notification-panel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}
.close-notification-panel {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.close-notification-panel:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.close-notification-panel:active {
    transform: scale(0.95) rotate(90deg);
}
.notification-list {
    max-height: 480px;
    overflow-y: auto;
    padding: 20px;
    margin: 0;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}
.notification-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 90px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.notification-item.unread::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.2) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}
.notification-item .notif-title {
    color: #1a202c;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.notification-item .notif-time {
    color: #718096;
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 500;
    opacity: 0.8;
}

.notification-item .notif-message {
    color: #4a5568;
    font-size: 0.9rem;
    margin: 8px 0;
    line-height: 1.5;
    word-wrap: break-word;
    opacity: 0.9;
}

.notification-item .notif-list-name {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 8px 0;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.notification-item .notif-list-name i {
    margin-right: 6px;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.notification-content {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
}

.notification-delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(220, 53, 69, 0.1);
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 53, 69, 0.2);
    z-index: 2;
}

.notification-item:hover .notification-delete-btn {
    opacity: 1;
    transform: scale(1.1);
}

.notification-delete-btn:hover {
    background: linear-gradient(135deg, #dc3545 0%, #c53030 100%);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.notification-delete-btn:active {
    transform: scale(0.95);
}

.notification-clear-all {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: none;
    color: #6c757d;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(233, 236, 239, 0.5);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.notification-clear-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.notification-clear-all:hover::before {
    left: 100%;
}

.notification-clear-all:hover {
    background: linear-gradient(135deg, rgba(233, 236, 239, 0.9) 0%, rgba(222, 226, 230, 0.9) 100%);
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notification-clear-all:active {
    transform: translateY(0);
}

.notification-clear-all i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.notification-clear-all:hover i {
    transform: rotate(15deg);
}
@media (max-width: 768px) {
    .notification-panel {
        right: 10px;
        left: 10px;
        width: auto;
        min-width: 0;
        max-height: 80vh;
        border-radius: 16px;
    }
    
    .notification-panel-header {
        border-radius: 16px 16px 0 0;
        padding: 16px 20px;
    }
    
    .notification-list {
        padding: 16px;
        max-height: 60vh;
    }
    
    .notification-item {
        padding: 14px;
        min-height: 80px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    
    .notification-delete-btn {
        top: 8px;
        right: 8px;
        padding: 4px;
        font-size: 0.7rem;
    }
    
    .notification-clear-all {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .notification-actions {
        gap: 8px;
        margin-top: 12px;
    }
    
    .notification-btn {
        padding: 8px 14px;
        min-width: 80px;
        font-size: 0.8rem;
    }
    
    .notification-empty-state {
        padding: 30px 16px;
        margin: 16px 0;
    }
    
    .empty-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .empty-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .empty-message {
        font-size: 0.85rem;
    }
} 

.chat-section .section-header button {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #f0f4fa;
    border: 1px solid #e2e8f0;
    color: #667eea;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(102,126,234,0.04);
    cursor: pointer;
}
.chat-section .section-header button:hover {
    background: #e2e8f0;
    color: #4a5568;
}

/* Bildirim butonları için stiller */
.notification-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.notification-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.notification-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.notification-btn:hover::before {
    left: 100%;
}

.notification-btn.accept {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.notification-btn.accept:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
    border-color: rgba(72, 187, 120, 0.5);
}

.notification-btn.reject {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    border: 1px solid rgba(245, 101, 101, 0.3);
}

.notification-btn.reject:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.4);
    border-color: rgba(245, 101, 101, 0.5);
}

.notification-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Boş durum için stiller */
.notification-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 2px dashed rgba(102, 126, 234, 0.2);
    margin: 20px 0;
}

.empty-icon {
    font-size: 3rem;
    color: rgba(102, 126, 234, 0.4);
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.empty-message {
    font-size: 0.9rem;
    color: #718096;
    opacity: 0.8;
    line-height: 1.5;
}

/* Paylaşım isteği bildirimleri için özel stil */
.notification-item.share-request {
    border-left: 4px solid #667eea;
}

.notification-item.share-request .notification-content {
    padding-right: 10px;
}

/* Bildirim mesajları için stiller */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    color: #2d3748;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
    min-width: 300px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.notification-success {
    border-left: 4px solid #48bb78;
}

.notification.notification-error {
    border-left: 4px solid #f56565;
}

.notification.notification-info {
    border-left: 4px solid #4299e1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification.notification-success .notification-content i {
    color: #48bb78;
}

.notification.notification-error .notification-content i {
    color: #f56565;
}

.notification.notification-info .notification-content i {
    color: #4299e1;
}

.notification-progress {
    height: 3px;
    background: #f1f5f9;
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 5s linear;
}

.notification.notification-success .notification-progress-bar {
    background: linear-gradient(90deg, #48bb78, #38a169);
}

.notification.notification-error .notification-progress-bar {
    background: linear-gradient(90deg, #f56565, #e53e3e);
}

.notification.notification-info .notification-progress-bar {
    background: linear-gradient(90deg, #4299e1, #3182ce);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
}

/* Modern Create List Page Styles */
.create-list-welcome {
    margin-bottom: 30px;
}

.welcome-card-modern {
    width: 100%;
    max-width: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.welcome-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.03), transparent);
    animation: shimmer 3s infinite;
}

.welcome-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.welcome-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.welcome-card-modern h2 {
    color: #2d3748;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.welcome-card-modern p {
    color: #718096;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.welcome-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.feature-item i {
    color: #667eea;
    font-size: 1rem;
}

.feature-item span {
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Modern Action Section */
.action-section-modern {
    margin-bottom: 40px;
}

.section-title {
    margin-top: 40px;
}

.section-title h3 {
    color: #fff;
    text-shadow: 1px 1px 6px rgba(60, 60, 60, 0.25);
    font-weight: bold;
}

.section-title p {
    color: #ffe;
    text-shadow: 1px 1px 6px rgba(60, 60, 60, 0.25);
    font-size: 1.08rem;
}

.action-cards-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.action-card-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card-modern:hover .card-glow {
    opacity: 1;
}

.action-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
}

.action-card-modern.primary {
    border-left: 4px solid #667eea;
}

.action-card-modern.secondary {
    border-left: 4px solid #48bb78;
}

.action-icon-modern {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.action-card-modern.primary .action-icon-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.action-card-modern.secondary .action-icon-modern {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.action-icon-modern i {
    font-size: 1.8rem;
    color: white;
}

.action-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.action-content h3 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.action-content p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.action-stats-modern {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
}

.action-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 15px;
    font-size: 0.9rem;
    color: #48bb78;
    font-weight: 500;
}

.action-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.action-card-modern:hover .action-arrow {
    background: #667eea;
    transform: translateX(5px);
}

.action-arrow i {
    color: #667eea;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.action-card-modern:hover .action-arrow i {
    color: white;
}

/* Modern Stats Section */
.stats-section-modern {
    margin-bottom: 40px;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card-modern {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.stat-icon i {
    font-size: 1.3rem;
    color: white;
}

.stat-content {
    position: relative;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 15px;
    font-weight: 500;
}

.stat-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.8s ease;
}

.progress-bar.success {
    background: linear-gradient(90deg, #48bb78, #38a169);
}

/* Modern Shopping Lists Section */
.shopping-lists-section-modern {
    margin-bottom: 40px;
}

.lists-tabs-modern {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    gap: 8px;
}

.list-tab-btn-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: #718096;
    position: relative;
}

.list-tab-btn-modern:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.list-tab-btn-modern.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.list-tab-btn-modern i {
    font-size: 1rem;
}

.tab-count-modern {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.list-tab-btn-modern:not(.active) .tab-count-modern {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.lists-tab-content-modern {
    position: relative;
}

.list-tab-panel-modern {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.list-tab-panel-modern.active {
    display: block;
}

.shopping-lists-container-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Quick Actions Section */
.quick-actions-section {
    margin-bottom: 40px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.quick-action-item {
    background: white;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.quick-action-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-action-item:hover::before {
    left: 100%;
}

.quick-action-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.quick-action-item:hover .quick-action-icon {
    transform: scale(1.1);
}

.quick-action-icon i {
    font-size: 1.2rem;
    color: white;
}

.quick-action-item span {
    display: block;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-card-modern {
        padding: 30px 20px;
    }
    
    .welcome-card-modern h2 {
        font-size: 2rem;
    }
    
    .welcome-card-modern p {
        font-size: 1rem;
    }
    
    .welcome-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .action-cards-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-card-modern {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card-modern {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .lists-tabs-modern {
        flex-direction: column;
        gap: 5px;
    }
    
    .list-tab-btn-modern {
        justify-content: flex-start;
    }
    
    .shopping-lists-container-modern {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
    
    .section-title h3 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .welcome-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .welcome-icon-large i {
        font-size: 2rem;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-action-item {
        padding: 15px 10px;
    }
    
    .quick-action-icon {
        width: 40px;
        height: 40px;
    }
    
    .quick-action-icon i {
        font-size: 1rem;
    }
}

/* Enhanced Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

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

/* Staggered animations for cards */
.action-card-modern:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.action-card-modern:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.stat-card-modern:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.stat-card-modern:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-card-modern:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.stat-card-modern:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Hover effects for better interactivity */
.action-card-modern:active {
    transform: translateY(-4px);
}

.quick-action-item:active {
    transform: translateY(-2px);
}

/* Focus states for accessibility */
.action-card-modern:focus-visible,
.quick-action-item:focus-visible,
.list-tab-btn-modern:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Enhanced Create List Page Styles */

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    gap: 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.step-icon i {
    font-size: 1.2rem;
    color: #a0aec0;
    transition: color 0.3s ease;
}

.progress-step.active .step-icon i {
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}

.progress-step.active .step-label {
    color: #2d3748;
    font-weight: 600;
}

/* Enhanced Welcome Section */
.welcome-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
}

.stat-badge i {
    font-size: 0.8rem;
}

/* Enhanced Input Styles */
.input-counter {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #718096;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 500;
}

.modern-textarea + .input-counter {
    top: 25px;
    transform: none;
}

/* Enhanced Templates Section */
.template-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: #718096;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.template-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

/* List Settings Section */
.list-settings-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f7fafc;
}

.settings-header {
    text-align: center;
    margin-bottom: 25px;
}

.settings-header h4 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.settings-header h4 i {
    color: #667eea;
}

.settings-header p {
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

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

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.setting-item:hover {
    background: white;
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.setting-info {
    flex: 1;
}

.setting-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d3748;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
    cursor: pointer;
}

.setting-label i {
    color: #667eea;
    font-size: 0.9rem;
}

.setting-desc {
    color: #718096;
    font-size: 0.9rem;
    margin-left: 25px;
}

/* Enhanced Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-left: 15px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #667eea;
}

/* Recent Lists Section */
.recent-lists-section {
    margin-top: 40px;
}

.recent-lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recent-list-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.recent-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.recent-list-card:hover::before {
    left: 100%;
}

.recent-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.recent-list-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.recent-list-card:hover .recent-list-icon {
    transform: scale(1.1);
}

.recent-list-icon i {
    font-size: 1.2rem;
    color: white;
}

.recent-list-content {
    flex: 1;
}

.recent-list-content h5 {
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.recent-list-content p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-list-date {
    color: #a0aec0;
    font-size: 0.8rem;
    font-weight: 500;
}

.empty-recent-lists {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.empty-recent-lists i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #cbd5e0;
}

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

/* Enhanced Tips Section */
.tips-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border-left: 3px solid #667eea;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.tip-item i {
    color: #667eea;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tip-item span {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design for Enhanced Features */
@media (max-width: 768px) {
    .progress-indicator {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    
    .progress-step::after {
        display: none;
    }
    
    .welcome-stats {
        gap: 15px;
    }
    
    .stat-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .template-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .settings-grid {
        gap: 10px;
    }
    
    .setting-item {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .setting-info {
        width: 100%;
    }
    
    .setting-desc {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .toggle-switch {
        align-self: flex-end;
    }
    
    .recent-lists-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .recent-list-card {
        padding: 15px;
    }
    
    .tips-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tip-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .progress-step {
        gap: 8px;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
    }
    
    .step-icon i {
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .welcome-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .template-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .recent-list-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .recent-list-icon {
        margin: 0 auto;
    }
}

/* Animation for template filtering */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced focus states */
.setting-item:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.recent-list-card:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading states */
.recent-list-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.recent-list-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- MODERN CREATE LIST PAGE LAYOUT --- */
.page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 80vh;
    width: 100%;
    margin-top: 36px;
    background: none;
}

.create-list-section-modern {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 48px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-card {
    background: linear-gradient(135deg, #f8f9ff 60%, #ece6fa 100%);
    border-radius: 28px;
    box-shadow: 0 8px 36px 0 rgba(102, 126, 234, 0.18), 0 1.5px 8px 0 rgba(120, 80, 180, 0.10);
    padding: 44px 38px 38px 38px;
    width: 100%;
    margin-bottom: 38px;
    transition: box-shadow 0.3s, transform 0.2s;
    border: 1.5px solid #e3d8fa;
    position: relative;
}
.form-card:hover {
    box-shadow: 0 16px 48px 0 rgba(102, 126, 234, 0.22), 0 2px 12px 0 rgba(120, 80, 180, 0.13);
    transform: translateY(-2px) scale(1.012);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}
.form-header-icon {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 2px 10px rgba(102,126,234,0.13);
}
.form-header-content h3 {
    margin: 0;
    font-size: 1.45rem;
    color: #4a3a6a;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.form-header-content p {
    margin: 0;
    color: #7b8190;
    font-size: 1.04rem;
}

/* Bölüm başlıkları ve alt çizgi */
.form-header-content h3, .templates-header h4, .settings-header h4 {
    position: relative;
    padding-bottom: 6px;
}
.form-header-content h3::after, .templates-header h4::after, .settings-header h4::after {
    content: '';
    display: block;
    width: 38px;
    height: 3px;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    border-radius: 2px;
    margin-top: 7px;
    opacity: 0.18;
}

/* Modern butonlar */
.btn-create-modern, .btn-cancel-modern {
    padding: 13px 32px;
    border-radius: 22px;
    font-size: 1.08rem;
    font-weight: 600;
    border: none;
    outline: none;
    margin: 0 8px;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(102,126,234,0.10);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-create-modern:hover, .btn-cancel-modern:hover {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 16px rgba(102,126,234,0.16);
    transform: translateY(-1px) scale(1.03);
}
.btn-cancel-modern {
    background: #ece6fa;
    color: #764ba2;
    border: 1.5px solid #d1c4e9;
}
.btn-cancel-modern:hover {
    background: #f3f0fa;
    color: #4a3a6a;
}

/* Modern input ve textarea */
.modern-input, .modern-textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid #e3d8fa;
    background: #f8f9ff;
    font-size: 1.05rem;
    color: #4a3a6a;
    margin-bottom: 2px;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(102,126,234,0.04);
}
.modern-input:focus, .modern-textarea:focus {
    border: 1.5px solid #764ba2;
    outline: none;
    box-shadow: 0 0 0 2px #e3d8fa;
    background: #f3f0fa;
}
.input-wrapper {
    position: relative;
    margin-bottom: 6px;
}
.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b39ddb;
    font-size: 1.1rem;
    pointer-events: none;
}
.input-counter {
    position: absolute;
    right: 14px;
    bottom: -22px;
    font-size: 0.92rem;
    color: #a89cc8;
}
.input-help {
    color: #8e8bb7;
    font-size: 0.97rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Şablonlar ve diğer bölümler için spacing ve kartlar */
.templates-section {
    margin-top: 36px;
    margin-bottom: 18px;
}
.templates-header {
    margin-bottom: 20px;
}
.templates-header h4 {
    color: #4a3a6a;
    font-size: 1.13rem;
    font-weight: 700;
}
.templates-header p {
    color: #7b8190;
    font-size: 0.98rem;
    margin-bottom: 8px;
}
.templates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
}
.template-card {
    background: #f3f0fa;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(102,126,234,0.07);
    padding: 18px 18px 14px 18px;
    min-width: 120px;
    flex: 1 1 140px;
    max-width: 180px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
    border: 1.5px solid #e3d8fa;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.template-card:hover {
    box-shadow: 0 6px 18px rgba(102,126,234,0.13);
    transform: translateY(-2px) scale(1.03);
    border-color: #764ba2;
}
.template-icon {
    font-size: 1.5rem;
    color: #764ba2;
    margin-bottom: 4px;
}
.template-badge {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    color: #fff;
    font-size: 0.85rem;
    border-radius: 8px;
    padding: 2px 10px;
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.filter-btn {
    background: #ece6fa;
    color: #764ba2;
    border: none;
    border-radius: 16px;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    color: #fff;
}

/* Ayarlar bölümü */
.settings-header h4 {
    color: #4a3a6a;
    font-size: 1.13rem;
    font-weight: 700;
}
.settings-header p {
    color: #7b8190;
    font-size: 0.98rem;
    margin-bottom: 8px;
}
.settings-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.setting-item {
    background: #f8f9ff;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(102,126,234,0.04);
    border: 1.5px solid #e3d8fa;
    transition: box-shadow 0.2s, border 0.2s;
}
.setting-item:hover {
    box-shadow: 0 4px 12px rgba(102,126,234,0.10);
    border-color: #764ba2;
}
.setting-info {
    flex: 1;
}
.setting-label {
    color: #764ba2;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.setting-desc {
    color: #7b8190;
    font-size: 0.97rem;
}
.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}

/* Modern tips bölümü */
.tips-content {
    background: rgba(255,255,255,0.92);
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(102,126,234,0.10);
    padding: 38px 38px 28px 38px;
    margin: 0 auto 38px auto;
    max-width: 820px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.tips-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.tips-header i {
    color: #764ba2;
    font-size: 1.5rem;
    margin-right: 2px;
}
.tips-header h4 {
    color: #3d2466;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.01em;
}
.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px 28px;
}
.tip-item {
    background: linear-gradient(135deg, #f3f0fa 80%, #e9e6fa 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(102,126,234,0.07);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.08rem;
    color: #4a3a6a;
    font-weight: 500;
    transition: box-shadow 0.2s, background 0.2s;
    border: 1.5px solid #ece6fa;
}
.tip-item i {
    color: #667eea;
    font-size: 1.25rem;
    background: #ece6fa;
    border-radius: 50%;
    padding: 6px;
    margin-right: 2px;
}
.tip-item:hover {
    background: #ede7fa;
    box-shadow: 0 6px 18px rgba(102,126,234,0.13);
    color: #764ba2;
}

/* --- SON OLUŞTURULAN LİSTELER BAŞLIK --- */
.recent-lists-section {
    background: none;
    margin: 0 auto 38px auto;
    max-width: 820px;
    width: 100%;
    text-align: center;
}
.recent-lists-section h3 {
    color: #3d2466;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.recent-lists-section h3 i {
    color: #667eea;
    font-size: 1.3rem;
}
.recent-lists-section p {
    color: #8e8bb7;
    font-size: 1.01rem;
    margin-bottom: 10px;
}

@media (max-width: 700px) {
    .tips-content {
        padding: 18px 4vw 12px 4vw;
        gap: 18px;
    }
    .tips-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tip-item {
        font-size: 0.99rem;
        padding: 13px 10px;
    }
    .recent-lists-section {
        padding: 0 2vw;
    }
}

@media (max-width: 900px) {
    .create-list-welcome,
    .form-card,
    .tips-content,
    .recent-lists-section,
    .create-list-section-modern {
        max-width: 98vw;
        padding-left: 2vw;
        padding-right: 2vw;
    }
}

.welcome-card-modern, .form-card {
    width: 100%;
    max-width: inherit;
    box-sizing: border-box;
    padding: 44px 38px 38px 38px;
    border-radius: 28px;
}

.create-list-welcome,
.create-list-section-modern {
    max-width: 820px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.form-actions-modern {
    margin-top: 32px;
}

.tips-section, .tips-content {
    max-width: 820px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}
.tips-content {
    padding: 44px 38px 38px 38px;
    border-radius: 28px;
}

/* Modern Liste Bilgileri Alanları */
.form-group-modern {
    margin-bottom: 32px;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #5a3990;
    margin-bottom: 8px;
}

.modern-label i {
    color: #764ba2;
    font-size: 1.15rem;
}

.input-wrapper {
    position: relative;
    margin-bottom: 6px;
}

.modern-input, .modern-textarea {
    width: 100%;
    padding: 15px 18px 15px 44px;
    border-radius: 14px;
    border: 1.5px solid #e3d8fa;
    background: #f8f9ff;
    font-size: 1.07rem;
    color: #4a3a6a;
    box-shadow: 0 2px 8px rgba(102,126,234,0.04);
    transition: border 0.2s, box-shadow 0.2s;
}

.modern-input:focus, .modern-textarea:focus {
    border: 1.5px solid #764ba2;
    box-shadow: 0 0 0 2px #e3d8fa;
    background: #f3f0fa;
    outline: none;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b39ddb;
    font-size: 1.15rem;
    pointer-events: none;
}

.input-counter {
    position: absolute;
    right: 14px;
    top: 12px;
    font-size: 0.97rem;
    color: #a89cc8;
    background: #f8f9ff;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.input-help {
    color: #8e8bb7;
    font-size: 0.97rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-help i {
    color: #667eea;
    font-size: 1.1rem;
}

/* Override for empty state text color */
.empty-state h3, .empty-state p {
    color: #fff !important;
}