:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e0e0e0;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #dddddd;
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --danger-color: #f44336;
    --success-color: #4CAF50;
    --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #404040;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --border-color: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.hidden {
    display: none !important;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

header h1 {
    font-size: 28px;
    color: #2c2c2c;
}

[data-theme="dark"] header h1 {
    color: #d0d0d0;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-info {
    color: var(--text-secondary);
    font-size: 14px;
}

.badge {
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.share-counter {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.share-counter p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.tooltip {
    color: var(--text-secondary);
    font-size: 12px;
}

.drop-zone {
    border: 3px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    transition: all 0.3s;
    background: var(--bg-secondary);
}

.drop-zone.drag-over {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.upload-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.or-text {
    margin: 20px 0;
    color: var(--text-secondary);
}

.file-info {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.file-queue {
    margin-top: 20px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.file-queue h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text-primary);
}

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

.file-item {
    background: var(--bg-primary);
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: background 0.2s;
}

.file-item:hover {
    background: var(--bg-tertiary);
}

.file-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.file-progress {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-progress-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.file-progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s;
    width: 0%;
}

.file-progress-text {
    font-size: 12px;
    color: var(--text-secondary);
    min-width: 35px;
    text-align: right;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word;
}

.file-size {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-remove {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-remove:hover {
    background: #d32f2f;
}

.btn-cancel {
    background: var(--warning-color, #ff9800);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-cancel:hover {
    background: #f57c00;
}

.upload-options {
    margin-top: 30px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.btn-success:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    opacity: 0.9;
}

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

.btn-danger:hover {
    opacity: 0.9;
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 18px;
}

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

.btn-icon {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.manage-files-banner {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 12px 0;
    margin: -10px 0 20px 0;
    text-align: center;
}

.manage-files-banner a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    transition: opacity 0.3s;
}

.manage-files-banner a:hover {
    opacity: 0.9;
}

.ad-container {
    width: 100%;
    height: 90px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.ad-placeholder {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s;
}

.share-result {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.share-link-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.share-link-container input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.expiry-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 10px 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.modal h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.download-section,
.upload-section,
.auth-section,
.admin-section,
.error-section {
    margin-top: 20px;
}

.upload-section {
    padding-bottom: 500px;
}

.file-details {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.file-details p {
    margin: 10px 0;
}

.batch-info {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.batch-info p {
    margin: 5px 0;
}

.files-list {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.file-item-download {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    transition: background 0.2s;
}

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

.file-item-download:hover {
    background: var(--bg-tertiary);
}

.file-item-download .file-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.file-item-download .file-name {
    font-weight: 500;
    font-size: 16px;
}

.file-item-download .file-size {
    font-size: 14px;
    color: var(--text-secondary);
}

.file-item-download .file-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-download-single {
    min-width: 120px;
}

.preview-container {
    margin: 20px 0;
    text-align: center;
}

.preview-container img,
.preview-container video {
    max-width: 100%;
    border-radius: 8px;
}

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

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
}

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

.auth-form {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin: 10px 0;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 6px;
    margin: 10px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.stat-card h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.admin-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-tool-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
}

.error-section {
    text-align: center;
    padding: 60px 20px;
}

.error-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.account-info {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.account-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.account-info p {
    margin: 10px 0;
    font-size: 16px;
}

.account-actions {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.account-actions h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.files-table {
    overflow-x: auto;
    margin: 20px 0;
}

.files-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.files-table th,
.files-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.files-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
}

.files-table tr:hover {
    background: var(--bg-tertiary);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 5px;
}

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

.btn-info:hover {
    background: #1976D2;
}

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

.btn-danger:hover {
    background: #d32f2f;
}

.file-info-details {
    margin-top: 20px;
}

.file-info-details p {
    margin: 15px 0;
    font-size: 16px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.empty-state p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Floating Dark Mode Toggle */
.floating-dark-mode {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s;
    z-index: 1000;
}

.floating-dark-mode:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--shadow);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg-primary);
    border-right: 2px solid var(--border-color);
    box-shadow: 2px 0 10px var(--shadow);
    transition: left 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.nav-menu.open {
    left: 0;
}

.nav-menu-header {
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.nav-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
    padding: 5px;
}

.nav-menu-items {
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-menu-items li {
    border-bottom: 1px solid var(--border-color);
}

.nav-menu-items a {
    display: block;
    padding: 15px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.nav-menu-items a:hover {
    background: var(--bg-secondary);
}

.nav-menu-items a.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
    font-weight: bold;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1999;
}

.nav-overlay.open {
    display: block;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .header-controls {
        margin-top: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .files-table {
        font-size: 14px;
    }
    
    .files-table th,
    .files-table td {
        padding: 10px;
    }
    
    .floating-dark-mode {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* Account Settings Improvements */
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.account-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.account-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.account-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

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

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-value {
    font-weight: 600;
    font-size: 16px;
}

.profile-section {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.profile-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border: 2px solid var(--border-color);
}

.trial-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;
}

.warning-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tier-limits {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
}

.tier-limits ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.tier-limits li {
    padding: 6px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-limits li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

.danger-zone {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--danger-color);
    margin-top: 30px;
}

.danger-zone h3 {
    color: var(--danger-color);
    margin-bottom: 16px;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.btn-danger:hover {
    background: #d32f2f;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid var(--primary-color);
}

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

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

.toast.warning {
    border-left-color: #ff9800;
}

.toast-icon {
    font-size: 24px;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.image-preview-container {
    margin-top: 16px;
    display: none;
}

.image-preview-container.show {
    display: block;
}

.image-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

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

.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Spinner animation for verification modal */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ==================== Feedback FAB and Modal ==================== */

.feedback-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FF9800;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.feedback-fab:active {
    transform: scale(0.95);
}

.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.feedback-modal.show {
    display: flex;
    background-color: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(2px);
}

.feedback-modal-content {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.feedback-modal-header h2 {
    margin: 0;
    color: var(--text-primary);
}

.feedback-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-close-btn:hover {
    color: var(--danger-color);
}

.feedback-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feedback-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.feedback-tab:hover {
    border-color: var(--primary-color);
}

.feedback-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.feedback-form-group {
    margin-bottom: 1.25rem;
}

.feedback-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.feedback-form-group input,
.feedback-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

.feedback-form-group input:focus,
.feedback-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.feedback-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.feedback-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.feedback-submit-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.feedback-submit-btn:hover {
    background: #45a049;
}

.feedback-submit-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
}

.feedback-cancel-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-cancel-btn:hover {
    border-color: var(--text-primary);
}

.feedback-success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.feedback-success-message.show {
    display: block;
}

.feedback-success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .feedback-fab {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .feedback-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* ==================== Notification Badge ==================== */

.notification-badge {
    display: inline-block;
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    line-height: 16px;
    vertical-align: middle;
    margin-left: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notification-badge.hidden {
    display: none;
}

/* ==================== Development Banner ==================== */

.dev-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #d32f2f;
    color: #fffacd;
    text-align: center;
    padding: 4px 0;
    font-size: 12px;
    font-weight: 500;
    z-index: 10000;
    height: 20px;
    line-height: 12px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

body {
    padding-bottom: 20px;
}
