/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure navigation is always right-aligned */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0079bf;
    text-decoration: none;
    transition: all 0.2s ease;
}

.logo:hover {
    color: #005a8b;
    transform: translateY(-1px);
}

.logo i {
    font-size: 1.8rem;
}

/* Header tagline styles */
.header-tagline {
    flex: 1;
    text-align: center;
    margin: 0 2rem;
}

.header-tagline p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Navigation styles */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.2s ease;
    background: transparent;
}

.nav-link:hover {
    background: rgba(0, 121, 191, 0.1);
    color: #0079bf;
}

.nav-link.active {
    background: rgba(0, 121, 191, 0.15);
    color: #0079bf;
}

.nav-link i {
    font-size: 1rem;
}

.nav-link span {
    font-size: 0.9rem;
}

.add-list-btn {
    background: #0079bf;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 121, 191, 0.3);
}

.add-list-btn:hover {
    background: #005a8b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 121, 191, 0.4);
}

/* Content below header */
.content-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 1rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.data-actions {
    display: flex;
    gap: 0.5rem;
}

.data-action-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.data-action-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.data-action-btn i {
    font-size: 0.9rem;
}

/* Action buttons container */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Category filter */
.category-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-filter select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    min-width: 150px;
}

.clear-filter-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.clear-filter-btn:hover {
    background: #c82333;
}

/* Buy me a coffee button container */
.bmc-button-container {
    display: flex;
    align-items: center;
}

.bmc-button-container iframe {
    transform: scale(0.8);
    transform-origin: left center;
}

/* Metrics display */
.metrics-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.metric-item i {
    color: #0079bf;
    font-size: 0.7rem;
}

.metric-label {
    font-weight: 600;
    color: #333;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 2rem;
    overflow-x: hidden;
    position: relative;
}

.board {
    display: flex;
    gap: 1.5rem;
    min-height: calc(100vh - 200px);
    padding-bottom: 2rem;
    overflow-x: hidden;
    position: relative;
}

/* Horizontal scroll FAB */
.scroll-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #0079bf;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 121, 191, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-fab:hover {
    background: #005a8b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 121, 191, 0.5);
}

.scroll-fab.show {
    display: flex;
}

.scroll-fab.left {
    left: 2rem;
    right: auto;
}

.scroll-fab.right {
    right: 2rem;
    left: auto;
}

/* Hide scrollbar for board */
.board::-webkit-scrollbar {
    display: none;
}

/* List styles */
.list {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    min-width: 280px;
    max-width: 280px;
    width: 280px;
    flex-shrink: 0;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.list:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.list-header {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    transition: all 0.2s ease;
}

.list-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.list-header:active {
    cursor: grabbing;
}

.list.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    z-index: 1000;
}

.list.dragging .list-header {
    cursor: grabbing;
}

.list-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    flex: 1;
    margin-right: 0.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.list-title:hover {
    background: rgba(0, 0, 0, 0.05);
}

.list-title-input {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    background: white;
    border: 2px solid #0079bf;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    width: 100%;
    outline: none;
    font-family: inherit;
    box-shadow: 0 0 0 3px rgba(0, 121, 191, 0.1);
}

.list-actions {
    display: flex;
    gap: 0.25rem;
}

.list-action-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.list-action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.list-content {
    padding: 0.75rem;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    min-height: 0;
}

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

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

.list-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.list-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Card styles */
.card {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: grab;
    transition: all 0.2s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card:active {
    cursor: grabbing;
}

.card-content {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    word-wrap: break-word;
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.card-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
    word-wrap: break-word;
    margin-bottom: 0.75rem;
}

.card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.card-category i {
    font-size: 0.7rem;
}

.card-meta {
    font-size: 0.75rem;
    color: #999;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    line-height: 1.3;
}

.card-meta i {
    margin-right: 0.25rem;
    width: 12px;
    text-align: center;
}

.card-meta .fas.fa-check-circle {
    color: #28a745;
}

.card-meta .fas.fa-tachometer-alt {
    color: #0079bf;
}

.card-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 1;
    transition: opacity 0.2s ease;
    display: flex;
    gap: 0.25rem;
}

.fab-btn {
    opacity: 1 !important;
    background: transparent !important;
    color: #6c757d !important;
    border: 2px solid #6c757d !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.fab-btn:hover {
    background: #6c757d !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3) !important;
}

.card-action-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.card-action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.card-action-btn[title="Move to Next Column"]:hover {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* WIP Limit styles */
.wip-limit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    margin: 0 0.75rem 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}



.wip-limit.danger {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.wip-limit i {
    font-size: 0.7rem;
}

.wip-input-group {
    margin-top: 1rem;
}

.wip-input-group label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.wip-input-group input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.wip-input-group input:focus {
    outline: none;
    border-color: #0079bf;
    box-shadow: 0 0 0 3px rgba(0, 121, 191, 0.1);
}

/* Number input spinner styling - using native browser spinner */
.wip-input-group input[type="number"] {
    /* Keep native spinner for better usability */
    -moz-appearance: textfield;
}

.wip-input-group input[type="number"]::-webkit-outer-spin-button,
.wip-input-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add card button */
.add-card-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-card-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.3);
    color: #333;
}

.add-card-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.3);
}

.add-card-btn.disabled:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(0, 0, 0, 0.2);
    color: #666;
}

/* Drag and drop styles */
.card.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.list.drag-over {
    background: rgba(0, 121, 191, 0.1);
    border: 2px dashed #0079bf;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body input,
.modal-body textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
    resize: vertical;
}

.modal-body input:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #0079bf;
    box-shadow: 0 0 0 3px rgba(0, 121, 191, 0.1);
}

.modal-body input {
    margin-bottom: 1rem;
}

.modal-body textarea {
    min-height: 100px;
    resize: vertical;
}

/* Category selection in modals */
.category-selection {
    margin-top: 1rem;
}

.category-selection label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.category-selection select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: white;
    margin-bottom: 0.5rem;
}

.category-selection select:focus {
    outline: none;
    border-color: #0079bf;
    box-shadow: 0 0 0 3px rgba(0, 121, 191, 0.1);
}

.category-selection input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.category-selection input[type="text"]:focus {
    outline: none;
    border-color: #0079bf;
    box-shadow: 0 0 0 3px rgba(0, 121, 191, 0.1);
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

/* Button styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #0079bf;
    color: white;
}

.btn-primary:hover {
    background: #005a8b;
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

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

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-1px);
}

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

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

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .header-tagline {
        margin: 0;
        order: 2;
    }

    .header-tagline p {
        font-size: 0.8rem;
    }
    
    .nav-menu {
        order: 2;
        justify-content: flex-end;
        width: 100%;
        margin-left: auto;
    }
    
    .content-section {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 2rem;
        margin: 0.75rem auto 0;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .nav-link span {
        display: none;
    }

    .main-content {
        padding: 1rem;
    }

    .board {
        gap: 1rem;
    }

    .list {
        min-width: 280px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .add-list-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .action-buttons {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        justify-content: center;
    }

    .add-list-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .data-actions {
        gap: 0.5rem;
    }

    .data-action-btn {
        padding: 0.4rem;
    }

    .data-action-btn i {
        font-size: 0.9rem;
    }

    .metrics-display {
        font-size: 0.8rem;
    }

    /* Privacy modal adjustments for mobile */
    .privacy-modal {
        max-width: 95vw !important;
        max-height: 90vh !important;
        margin: 1rem;
    }

    .privacy-modal .modal-content {
        max-height: 85vh;
    }

    .privacy-modal .modal-body {
        max-height: 60vh;
        padding: 0.75rem;
    }

    .language-selector {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .lang-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .privacy-intro p {
        font-size: 0.8rem;
    }

    .privacy-feature {
        font-size: 0.8rem;
    }

    .privacy-details p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .header-tagline {
        margin: 0;
        order: 2;
    }

    .header-tagline p {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
        justify-content: flex-end;
        margin-left: auto;
    }
    
    .content-section {
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        margin: 0.5rem auto 0;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .data-actions {
        justify-content: center;
    }

    .action-buttons {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
        width: auto;
    }

    .add-list-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .list {
        min-width: 220px;
        max-width: 220px;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .wip-limit {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .wip-input-group {
        margin-top: 0.75rem;
    }
}

/* Privacy Modal styles */
.privacy-modal {
    max-width: 500px !important;
    max-height: 80vh !important;
    overflow-y: auto;
}

.privacy-modal .modal-content {
    max-height: 70vh;
    overflow-y: auto;
}

.privacy-modal .modal-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

/* Make accept button more prominent */
.privacy-modal .modal-actions {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0 0 12px 12px;
}

.privacy-modal #acceptPrivacyBtn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 121, 191, 0.3);
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.privacy-modal #acceptPrivacyBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 121, 191, 0.4);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
    justify-content: center;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #666;
}

.lang-btn:hover {
    border-color: #0079bf;
    color: #0079bf;
    background: rgba(0, 121, 191, 0.05);
}

.lang-btn.active {
    border-color: #0079bf;
    background: #0079bf;
    color: white;
}

.lang-btn .flag {
    font-size: 1rem;
}

.privacy-content {
    text-align: left;
}

.privacy-lang-content {
    animation: fadeIn 0.3s ease-in-out;
}

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

.privacy-intro {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 121, 191, 0.05);
    border-radius: 6px;
    border-left: 3px solid #0079bf;
}

.privacy-intro p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-intro p:last-child {
    margin-bottom: 0;
}

.privacy-intro strong {
    color: #0079bf;
    font-weight: 600;
}

.privacy-features {
    margin-bottom: 1rem;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    line-height: 1.3;
}

.privacy-feature i {
    color: #0079bf;
    font-size: 0.9rem;
    min-width: 16px;
}

.privacy-feature span {
    color: #333;
}

.privacy-details {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.privacy-details p {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #555;
}

.privacy-details p:last-child {
    margin-bottom: 0;
}

.privacy-details strong {
    color: #0079bf;
    font-weight: 600;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* About page styles */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.about-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #0079bf;
}

.about-header h1 {
    color: #0079bf;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about-header .tagline {
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    color: #0079bf;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.about-section h2 i {
    color: #0079bf;
    font-size: 1.2rem;
}

.about-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1rem;
}

.about-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #333;
}

.about-section strong {
    color: #0079bf;
    font-weight: 600;
}

.image-container {
    margin: 1.5rem 0;
    text-align: center;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 0.5rem;
    color: #666;
    font-style: italic;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0079bf;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: transparent;
}

.back-link:hover {
    color: #005a8b;
    background: rgba(0, 121, 191, 0.1);
}

.footer-info {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 0.9rem;
}

.privacy-features {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.privacy-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.privacy-features li i {
    color: #28a745;
    font-size: 0.9rem;
    min-width: 16px;
}

/* Responsive styles for about page */
@media (max-width: 768px) {
    .about-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-section h2 {
        font-size: 1.3rem;
    }
    
    .about-section p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .about-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-section h2 {
        font-size: 1.2rem;
    }
    
    .about-section p {
        font-size: 0.9rem;
    }
    
    .privacy-features {
        padding: 1rem;
    }
}

/* Privacy page styles */
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.privacy-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.privacy-container h1 {
    color: #0079bf;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.privacy-container section {
    margin-bottom: 2.5rem;
}

.privacy-container h2 {
    color: #0079bf;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-container p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1rem;
}

.privacy-container strong {
    color: #0079bf;
    font-weight: 600;
}

/* Contact support styles */
.contact-support {
    text-align: right;
    margin-top: 1rem;
}

.support-link {
    font-size: 0.8em; /* 20% smaller than normal text */
    color: #0079bf;
    text-decoration: none;
    transition: color 0.2s ease;
}

.support-link:hover {
    color: #005a8b;
    text-decoration: underline;
}

.privacy-container code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0079bf;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: transparent;
}

.back-btn:hover {
    color: #005a8b;
    background: rgba(0, 121, 191, 0.1);
}

.back-btn i {
    font-size: 0.9rem;
}

/* Responsive styles for privacy page */
@media (max-width: 768px) {
    .privacy-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .privacy-container h1 {
        font-size: 2rem;
    }
    
    .privacy-container h2 {
        font-size: 1.3rem;
    }
    
    .privacy-container p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .privacy-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .privacy-container h1 {
        font-size: 1.8rem;
    }
    
    .privacy-container h2 {
        font-size: 1.2rem;
    }
    
    .privacy-container p {
        font-size: 0.9rem;
    }
} 