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

body {
    font-family: 'Fira Sans Condensed', 'Source Sans Pro', 'Franklin Gothic Medium', 'Arial Narrow', sans-serif;
    background: #F9FAFB;
    color: #1e293b;
    min-height: 100vh;
    line-height: 1.6;
}

/* Hide content until authentication is verified */
body:not(.auth-verified) header,
body:not(.auth-verified) nav,
body:not(.auth-verified) main {
    visibility: hidden;
}

/* Header */
header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

header h1 {
    color: #667eea;
    font-size: 1.75rem;
    font-weight: 700;
}

.user-info {
    position: relative;
    display: flex;
    align-items: center;
}

.hamburger-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.hamburger-icon {
    font-size: 1.5rem;
    color: #64748b;
}

.hamburger-menu-btn:hover .hamburger-icon {
    color: #4A90E2;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid #E5E7EB;
}

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

.dropdown-item:hover {
    background: #F9FAFB;
    color: #4A90E2;
}

#logout-link:hover {
    background: #FEF2F2;
    color: #EF4444;
}

/* Tab Navigation */
.tab-nav {
    background: white;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    gap: 0.5rem;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-button {
    background: transparent;
    border: none;
    color: #6B7280;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-button:hover {
    color: #4A90E2;
}

.tab-button.active {
    color: #4A90E2;
    border-bottom-color: #4A90E2;
}

/* Main Dashboard */
#dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
}

/* Buttons */
.primary-button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
}

.primary-button:hover {
    background: #357ABD;
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.primary-button:active {
    transform: translateY(1px);
}

.secondary-button {
    background: white;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.secondary-button:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.danger-button {
    background: #EF4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.danger-button:hover {
    background: #DC2626;
}

.icon-button {
    background: transparent;
    border: none;
    color: #6B7280;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.icon-button:hover {
    color: #4A90E2;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Wishlist Card */
.wishlist-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    cursor: pointer;
}

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

.card-header {
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.375rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.8125rem;
}

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

.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #E5E7EB;
}

.card-button {
    flex: 1;
    background: #F9FAFB;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.card-button:hover {
    background: white;
    border-color: #4A90E2;
    color: #4A90E2;
}

.card-button.danger {
    color: #EF4444;
}

.card-button.danger:hover {
    border-color: #EF4444;
    background: #FEF2F2;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-message {
    color: #64748b;
    font-size: 1.125rem;
}

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

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

.modal-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.close {
    color: #9CA3AF;
    font-size: 1.75rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #6B7280;
}

.share-description {
    color: #64748b;
    margin-bottom: 1rem;
}

.share-link-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#share-link {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    background: #F9FAFB;
    color: #0f172a;
    font-size: 0.875rem;
}

/* Info Box */
.info-box {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
}

.info-box strong {
    display: block;
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #78350f;
}

.info-box li {
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.info-box li:last-child {
    margin-bottom: 0;
}

/* Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

/* Messages */
.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    color: #10B981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0f172a;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.3s;
    z-index: 2000;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.success {
    background: #10B981;
}

.toast.error {
    background: #EF4444;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid #E5E7EB;
    border-top-color: #4A90E2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Wishlist Detail Section */
#wishlist-detail-section {
    display: none;
}

#wishlist-detail-section.active {
    display: block;
}

.detail-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.back-button {
    background: transparent;
    border: none;
    color: #4A90E2;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.back-button:hover {
    color: #357ABD;
}

.editable-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: text;
}

.editable-title:hover {
    background: #F9FAFB;
}

.editable-title[contenteditable="true"] {
    border-color: #4A90E2;
    background: white;
    outline: none;
}

.header-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Item Card */
.item-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: #F3F4F6;
}

.item-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #9CA3AF;
}

.item-content {
    flex: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.item-title-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.priority-badge.need-it {
    background: #FEE2E2;
    color: #991B1B;
}

.priority-badge.want-it {
    background: #FEF3C7;
    color: #92400E;
}

.priority-badge.like-it {
    background: #DBEAFE;
    color: #1E40AF;
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 0.75rem;
}

.item-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.item-button {
    flex: 1;
    background: #F9FAFB;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.item-button:hover {
    background: white;
    border-color: #4A90E2;
    color: #4A90E2;
}

/* Form Hints */
.form-hint {
    display: block;
    color: #9CA3AF;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s;
}

.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* State Badges (List-Reader View) */
.state-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.state-badge.available {
    background-color: #D1FAE5;
    color: #065F46;
}

.state-badge.claimed {
    background-color: #FEF3C7;
    color: #92400E;
}

.state-badge.split {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.state-badge.purchased {
    background-color: #E5E7EB;
    color: #374151;
}

.remaining-amount {
    font-size: 14px;
    color: #6B7280;
    margin-top: 8px;
    font-weight: 500;
}

.user-contribution {
    font-size: 14px;
    color: #059669;
    font-weight: 600;
    margin-top: 8px;
}

/* Claim Action Buttons (List-Reader View) */
.claim-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}

.claim-button {
    flex: 1;
    padding: 8px 16px;
    background-color: #4A90E2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.claim-button:hover:not(:disabled) {
    background-color: #357ABD;
    transform: translateY(-1px);
}

.claim-button:disabled {
    background-color: #D1D5DB;
    cursor: not-allowed;
    transform: none;
}

.claim-button.secondary {
    background-color: white;
    color: #4A90E2;
    border: 1px solid #4A90E2;
}

.claim-button.secondary:hover:not(:disabled) {
    background-color: #F0F7FF;
}

.unclaim-button {
    flex: 1;
    padding: 8px 16px;
    background-color: #EF4444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.unclaim-button:hover:not(:disabled) {
    background-color: #DC2626;
    transform: translateY(-1px);
}

.unclaim-button:disabled {
    background-color: #D1D5DB;
    cursor: not-allowed;
    transform: none;
}

.purchase-button {
    flex: 1;
    padding: 8px 16px;
    background-color: #10B981;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.purchase-button:hover:not(:disabled) {
    background-color: #059669;
    transform: translateY(-1px);
}

.purchase-button:disabled {
    background-color: #D1D5DB;
    cursor: not-allowed;
    transform: none;
}

/* Shared List View Specific Styles */
.shared-list-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.owner-info {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}

.item-link {
    color: #4A90E2;
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: inline-block;
    transition: color 0.2s;
}

.item-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

.user-claim {
    font-size: 14px;
    color: #059669;
    font-weight: 600;
    margin-top: 8px;
    padding: 6px 12px;
    background-color: #D1FAE5;
    border-radius: 6px;
    display: inline-block;
}

/* Error Page Styles */
.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.error-page h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.error-page p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Partial Claim Modal Specific Styles */
.partial-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.partial-item-price,
.partial-remaining {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.partial-remaining {
    font-weight: 600;
    color: #4A90E2;
}

/* Contributors Modal Specific Styles */
#contributors-list {
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.contributor-item {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.contributor-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contributor-info strong {
    font-size: 1rem;
    color: #0f172a;
}

.contributor-email {
    font-size: 0.75rem;
    color: #64748b;
}

.contributor-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.contributor-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #10B981;
}

.contributor-date {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.funding-status {
    background: #F0F7FF;
    border: 1px solid #DBEAFE;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.funding-status-item {
    font-size: 0.875rem;
    color: #1E40AF;
    margin-bottom: 0.5rem;
}

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

.funding-status-item strong {
    font-weight: 600;
}

/* Warning text for claim modal */
.warning-text {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 0.75rem;
    margin: 1rem 0;
    color: #92400E;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.claim-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.claim-item-price {
    font-size: 1rem;
    color: #10B981;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.25rem;
    }

    .user-info {
        gap: 0.5rem;
    }

    .tab-nav {
        padding: 0 1rem;
    }

    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    #dashboard {
        padding: 1.5rem 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .primary-button {
        width: 100%;
    }

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

    .modal-content {
        padding: 1.5rem;
    }

    .share-link-container {
        flex-direction: column;
    }

    #copy-link-btn {
        width: 100%;
    }

    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

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

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions button {
        width: 100%;
    }

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

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

    .claim-button {
        width: 100%;
    }

    .contributor-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contributor-details {
        align-items: flex-start;
        width: 100%;
    }
}

/* Settings Section */
.settings-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.settings-group {
    margin-bottom: 1.5rem;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.settings-value {
    color: #0f172a;
    font-size: 1rem;
    padding: 0.75rem;
    background: #F9FAFB;
    border-radius: 0.5rem;
    border: 1px solid #E5E7EB;
}

.settings-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s;
}

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

.form-hint {
    display: block;
    margin-top: 0.25rem;
    color: #6B7280;
    font-size: 0.875rem;
}

.success-message {
    color: #10b981;
    padding: 0.75rem;
    margin-top: 1rem;
    background-color: #d1fae5;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.error-message {
    color: #ef4444;
    padding: 0.75rem;
    margin-top: 1rem;
    background-color: #fee2e2;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3,
.faq-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item ul {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.faq-item ul li {
    margin-bottom: 0.25rem;
}

/* Confirmation Modal */
.confirm-modal-content {
    max-width: 400px;
    text-align: center;
}

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

.confirm-modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.confirm-modal-content p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.confirm-modal-content .modal-actions {
    justify-content: center;
    gap: 1rem;
}

.confirm-modal-content .modal-actions button {
    min-width: 100px;
}
