/* Loading States */
.waitlist-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.loading-spinner {
    font-size: 24px;
    margin-bottom: 12px;
    color: #3b82f6;
}

.loading-text {
    font-size: 14px;
    font-weight: 500;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #e2e8f0;
    background: #0f172a;
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent layout shift from scrollbar */
    scrollbar-gutter: stable;
}

.container {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #334155;
    padding: 16px 0;
    /* Prevent layout shifts */
    contain: layout;
    will-change: auto;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo i {
    color: #60a5fa;
    font-size: 1.125rem;
}

/* Bolt Logo Styles */
.logo i.fa-bolt {
    color: #fbbf24;
    transition: all 0.2s ease;
}

.logo:hover i.fa-bolt {
    color: #f59e0b;
    transform: scale(1.1);
    animation: boltFlash 0.6s ease-in-out;
}

@keyframes boltFlash {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1.1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
    }
}

.tagline {
    display: none;
}

.account-button {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #cbd5e1;
    border: 1px solid #475569;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

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

.account-button:hover {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    border-color: #64748b;
    color: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.account-button:hover::before {
    left: 100%;
}

.account-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.account-dropdown-arrow {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.account-button:hover .account-dropdown-arrow {
    color: #cbd5e1;
}

/* Account Menu */
.account-menu {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    min-width: 160px;
    overflow: hidden;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

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

.account-menu-item:hover {
    background: #334155;
    color: #f1f5f9;
    transform: translateX(2px);
}

.account-menu-item:hover::before {
    left: 100%;
}

.account-menu-item i {
    width: 16px;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 32px 24px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Controls */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 0;
    gap: 20px;
}

.search-section {
    flex: 1;
    max-width: 400px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 0.875rem;
    z-index: 1;
}

.search-input {
    width: 100%;
    background: #1e293b;
    color: #cbd5e1;
    border: 1px solid #334155;
    padding: 8px 12px 8px 36px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.search-input::placeholder {
    color: #64748b;
}

.sort-section {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
    display: inline-block;
}

/* Dropdown Button */
.dropdown-button {
    background: #1e293b;
    color: #cbd5e1;
    border: 1px solid #334155;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    min-width: 100px;
    height: 40px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dropdown-button:hover {
    border-color: #475569;
    background-color: #334155;
}

.dropdown-button:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.dropdown-button i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dropdown-button.open i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

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

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: #334155;
    color: #f1f5f9;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.75rem;
}

/* Ideas Grid */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
    /* Prevent layout shifts */
    contain: layout;
    align-items: stretch; /* Ensure all grid items have equal height */
}

/* Profile page specific grid adjustments */
.profile-main .ideas-grid {
    margin-bottom: 40px;
}

.idea-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%; /* Ensure minimum height */
    /* Prevent layout shifts */
    contain: layout style;
    will-change: transform;
    overflow: visible;
}

.idea-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: #475569;
}

/* Share Idea Card */
.share-idea-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px dashed #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* No Ideas Message */
.no-ideas-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.no-ideas-message i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
    display: block;
}

.no-ideas-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.no-ideas-message p {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0;
}

.share-idea-card:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.share-idea-content {
    text-align: center;
    padding: 20px;
}

.share-idea-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.share-idea-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.share-idea-description {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.share-idea-action {
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.share-idea-card:hover .share-idea-action {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.idea-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.idea-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
    line-height: 1.3;
}

.idea-tagline {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
}

.idea-post-date {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
}

.idea-post-date i {
    font-size: 0.7rem;
    color: #64748b;
}

.idea-content {
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 0; /* Allow flex item to shrink */
}

.idea-problem {
    color: #cbd5e1;
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 0.875rem;
}

.idea-target-market {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    border: 1px solid #475569;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* Prevent target market from shrinking */
}

.idea-target-market::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
}

.target-market-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.target-market-header i {
    color: #10b981;
    font-size: 0.875rem;
}

.target-market-content {
    color: #f1f5f9;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
}

.idea-website {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.75rem;
    font-weight: 500;
}

.website-link:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.3);
    text-decoration: none;
    transform: translateY(-1px);
}

.website-link i {
    font-size: 0.7rem;
}

.website-text {
    white-space: nowrap;
}

.idea-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid #334155;
    min-height: 60px;
    position: relative;
    overflow: visible;
    flex-shrink: 0; /* Prevent footer from shrinking */
}

.idea-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    gap: 12px;
    position: relative;
    overflow: visible;
}

.waitlist-count {
    font-weight: 600;
    font-size: 0.875rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 36px;
}

.waitlist-count i {
    color: #10b981;
    font-size: 0.75rem;
}

.waitlist-count-btn {
    font-weight: 600;
    font-size: 0.875rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 36px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    cursor: pointer;
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.waitlist-count-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.waitlist-count-btn:hover i {
    color: white;
}

.waitlist-count-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

.waitlist-count-btn i {
    color: #10b981;
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.waitlist-count-btn .view-icon {
    color: #64748b;
    font-size: 0.6rem;
    margin-left: 4px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.waitlist-count-btn:hover .view-icon {
    color: white;
    opacity: 1;
    transform: scale(1.1);
}

.join-waitlist-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 100px;
    height: 36px;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.join-waitlist-btn:hover {
    background: #2563eb;
}

.already-joined {
    background: #064e3b;
    color: #6ee7b7;
    border: 1px solid #065f46;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: default;
    min-width: 100px;
    height: 36px;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}

.already-joined i {
    color: #10b981;
    font-size: 0.875rem;
}

.idea-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.edit-btn,
.delete-btn {
    background: #64748b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    height: 28px;
    justify-content: center;
    box-sizing: border-box;
}

.edit-btn:hover {
    background: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.edit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}

.edit-btn:disabled:hover {
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}

.delete-btn {
    background: #dc2626;
}

.delete-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}

.delete-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}

.delete-btn:disabled:hover {
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}




/* Loading State */
.loading {
    text-align: center;
    padding: 80px 0;
    color: #94a3b8;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #334155;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    /* Prevent scrollbar from appearing/disappearing */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure modal doesn't cause body scroll */
    position: fixed;
}

.modal-content {
    background: #1e293b;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
}

.modal-content.large {
    max-width: 1200px;
    width: 95%;
    max-height: 98vh;
    height: auto;
    min-height: 80vh;
}

.modal-content.edit-large {
    max-width: 1200px;
    width: 95%;
    max-height: 98vh;
    height: auto;
    min-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px 0;
    margin-bottom: 24px;
}

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

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s ease;
    padding: 4px;
    border-radius: 4px;
}

.close-btn:hover {
    color: #e2e8f0;
    background: #334155;
}

.modal-body {
    padding: 0 32px 32px;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.auth-divider::before {
    content: '';
    flex: 1;
    height: 1px;
    background: #475569;
    margin-right: 16px;
}

.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #475569;
    margin-left: 16px;
}

.auth-divider span {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Sign Up Button */
.signup-btn {
    width: 100%;
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.signup-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Back to Login Button */
.back-to-login-btn {
    width: 100%;
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.back-to-login-btn:hover {
    background: #334155;
    color: #cbd5e1;
    border-color: #64748b;
}

/* Form Styles */
.auth-form,
.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.idea-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Auth Error Message Styles */
.auth-error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #fca5a5;
    font-size: 14px;
    margin-bottom: 8px;
}

.auth-error-message i {
    color: #ef4444;
    flex-shrink: 0;
}

.auth-error-message.show {
    display: flex;
}

/* Auth Success Message Styles */
.auth-success-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: #6ee7b7;
    font-size: 14px;
    margin-bottom: 8px;
}

.auth-success-message i {
    color: #10b981;
    flex-shrink: 0;
}

.auth-success-message.show {
    display: flex;
}

/* Forgot Password Link Styles */
.forgot-password-link {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 8px;
}

.forgot-password-link a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password-link a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.forgot-password-link a:focus {
    outline: none;
    color: #93c5fd;
    text-decoration: underline;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 0.875rem;
    margin-bottom: 0;
    display: block;
    letter-spacing: 0.025em;
}

.char-limit {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.75rem;
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0;
    font-weight: 500;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.danger {
    color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 16px 20px;
    border: 2px solid #475569;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #334155;
    color: #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #475569;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #64748b;
    background: #475569;
}

.form-group input[readonly] {
    background: #1e293b;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #334155;
}

.form-group input[readonly]:hover {
    background: #1e293b;
    border-color: #334155;
}

/* Password Input Container */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 48px;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.password-toggle:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.password-toggle:focus {
    outline: none;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Password Requirements */
.password-requirements {
    margin-top: 8px;
    padding: 12px;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 6px;
    font-size: 0.75rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.requirement:last-child {
    margin-bottom: 0;
}

.requirement.valid {
    color: #10b981;
}

.requirement.valid i {
    color: #10b981;
}

.requirement i {
    width: 12px;
    text-align: center;
    font-size: 0.7rem;
    color: #ef4444;
    transition: color 0.2s ease;
}

.requirement.valid i {
    color: #10b981;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

.submit-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    min-height: 52px;
    margin-top: 8px;
}

.submit-btn:hover:not(:disabled) {
    background: #2563eb;
}

.submit-btn:disabled {
    background: #64748b;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.btn-spinner {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-spinner.hidden {
    display: none;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-spinner {
    display: flex;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 2px dashed #475569;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.875rem;
}

.file-upload-label:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #334155;
}

.image-preview {
    margin-top: 12px;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 160px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Waitlist Info */
.waitlist-info {
    background: #334155;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #475569;
}

.waitlist-info h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: #f1f5f9;
    font-weight: 600;
}

.waitlist-count,
.waitlist-price {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 4px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .waitlist-input-container {
        min-width: 180px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .header-content {
        padding: 0 16px;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .main-content {
        margin-top: 70px;
        padding: 24px 16px;
    }
    
    .controls {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin-bottom: 24px;
    }
    
    .search-section {
        max-width: none;
    }
    
    .sort-section {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .dropdown-button {
        min-width: 120px;
        flex: 1;
        max-width: 150px;
    }
    
    .ideas-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .idea-card {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 16px;
    }
    
    .modal-header,
    .modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }
    
    .header-content {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .account-button {
        padding: 6px 12px;
        font-size: 0.75rem;
        min-width: 100px;
    }
    
    .main-content {
        margin-top: 60px;
        padding: 20px 12px;
    }
    
    .idea-card {
        padding: 16px;
    }
    
    .idea-title {
        font-size: 1.125rem;
    }
    
    .controls {
        margin-bottom: 20px;
    }
    
    .waitlist-input-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
        height: auto;
        min-height: 40px;
        flex-wrap: wrap;
        justify-content: center;
        background: #1e293b;
        border: 1px solid #334155;
        border-radius: 8px;
        padding: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .waitlist-email-input {
        min-width: 100%;
        max-width: none;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .waitlist-submit-btn,
    .waitlist-cancel-btn {
        flex: 1;
        min-width: 0;
    }
    
    .sort-section {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .dropdown-button {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

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

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

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

/* Smooth transitions for all interactive elements */
* {
    transition-property: transform, opacity, background-color, border-color, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

/* Prevent layout shifts during animations */
.idea-card,
.modal,
.header,
.account-button {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Success/Error Messages */
.message {
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.message.success {
    background: #064e3b;
    color: #6ee7b7;
    border: 1px solid #065f46;
}

.message.error {
    background: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #991b1b;
}

.message.info {
    background: #1e3a8a;
    color: #93c5fd;
    border: 1px solid #2563eb;
}

/* Profile Page Styles */
.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.back-button:hover {
    color: #cbd5e1;
    background: #334155;
    text-decoration: none;
}

.back-button i {
    font-size: 0.875rem;
}

/* Profile Layout */
.profile-layout {
    display: flex;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Profile Sidebar */
.profile-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Compact Profile Header */
.profile-header-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.profile-avatar-small {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.profile-info-compact h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 2px;
    line-height: 1.3;
}

.profile-info-compact p {
    color: #94a3b8;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.4;
}

/* Profile Navigation */
.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.nav-button {
    background: transparent;
    color: #94a3b8;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
    position: relative;
}

.nav-button:hover {
    color: #cbd5e1;
    background: #334155;
}

.nav-button.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.nav-button.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: white;
    border-radius: 0 2px 2px 0;
}

.nav-button i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Compact Stats */
.profile-stats-compact {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.stat-compact {
    flex: 1;
    text-align: center;
}

.stat-compact .stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 2px;
}

.stat-compact .stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Profile Main Content */
.profile-main {
    flex: 1;
    min-width: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    border-radius: 12px 12px 0 0;
}


/* Tab Content */
.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
}

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

.tab-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.tab-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-header h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    border-radius: 2px;
}

.tab-header p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-left: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 20px;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    grid-column: auto;
    width: auto;
    flex: 0 0 auto;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
    display: block;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 24px;
    max-width: 400px;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    color: white;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Settings Content */
.settings-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.settings-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.settings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    border-radius: 16px 16px 0 0;
}

.settings-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #64748b;
}

.settings-section.danger-section {
    background: linear-gradient(135deg, #1e293b 0%, #2d1b1b 100%);
    border-color: #7f1d1d;
}

.settings-section.danger-section::before {
    background: linear-gradient(90deg, #dc2626, #ef4444, #f87171);
}

/* Settings Header */
.settings-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.settings-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.settings-icon.danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.settings-title h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
    line-height: 1.3;
}

.settings-title p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

/* Enhanced Button Styles */
.submit-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn.primary::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 ease;
}

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

.submit-btn.primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.submit-btn.secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.submit-btn.secondary:hover {
    background: linear-gradient(135deg, #475569, #334155);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
}

.danger-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.danger-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 ease;
}

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

.danger-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.cancel-btn {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

.cancel-btn:hover {
    background: linear-gradient(135deg, #475569, #334155);
    transform: translateY(-1px);
}

/* Current Image Info */
.current-image-info {
    margin-top: 12px;
    padding: 12px;
    background: #1e293b;
    border-radius: 8px;
    border: 1px solid #334155;
}

.current-image-info p {
    margin: 0 0 8px 0;
    font-size: 0.875rem;
    color: #94a3b8;
}

.current-image-info img {
    border: 1px solid #334155;
}

/* Responsive Design for Profile */
@media (max-width: 1024px) {
    .profile-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .profile-sidebar {
        width: 100%;
        position: static;
        order: 2;
    }
    
    .profile-main {
        order: 1;
    }
    
    .profile-header-compact {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
    
    .profile-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }
    
    .nav-button {
        flex-shrink: 0;
        min-width: 140px;
        justify-content: center;
    }
    
    .profile-stats-compact {
        justify-content: center;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .profile-layout {
        gap: 20px;
    }
    
    .profile-sidebar {
        padding: 20px;
    }
    
    .profile-main {
        padding: 24px;
    }
    
    .profile-header-compact {
        gap: 16px;
    }
    
    .profile-avatar-small {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .profile-info-compact h3 {
        font-size: 1rem;
    }
    
    .profile-info-compact p {
        font-size: 0.7rem;
    }
    
    .nav-button {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-width: 120px;
    }
    
    .nav-button i {
        font-size: 0.875rem;
    }
    
    .tab-header h3 {
        font-size: 1.5rem;
    }
    
    .settings-content {
        max-width: none;
        gap: 24px;
    }
    
    .settings-section {
        padding: 24px;
        border-radius: 12px;
    }
    
    .settings-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .settings-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .settings-title h4 {
        font-size: 1.125rem;
    }
    
    .settings-form {
        gap: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .submit-btn.primary,
    .submit-btn.secondary,
    .danger-btn {
        align-self: stretch;
        min-width: auto;
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .cancel-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .profile-sidebar {
        padding: 16px;
    }
    
    .profile-main {
        padding: 20px;
    }
    
    .profile-header-compact {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .profile-avatar-small {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
    
    .profile-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav-button {
        min-width: auto;
        justify-content: flex-start;
    }
    
    .profile-stats-compact {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-compact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .stat-compact .stat-number {
        font-size: 1.125rem;
    }
    
    .tab-header h3 {
        font-size: 1.25rem;
    }
    
    .tab-header h3::before {
        width: 3px;
        height: 20px;
    }
    
    .settings-section {
        padding: 20px;
        border-radius: 10px;
    }
    
    .settings-content {
        gap: 20px;
    }
    
    .settings-header {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .settings-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .settings-title h4 {
        font-size: 1rem;
    }
    
    .settings-title p {
        font-size: 0.8rem;
    }
    
    .settings-form {
        gap: 14px;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .password-toggle {
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .submit-btn.primary,
    .submit-btn.secondary,
    .danger-btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .cancel-btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .empty-state {
        padding: 15px 16px;
        min-height: 180px;
        max-width: 250px;
    }
    
    .empty-state i {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .empty-state h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    
    .empty-state p {
        font-size: 0.875rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}

/* Idea Detail Modal Styles */
.modal-content.extra-large {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.idea-detail-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.idea-detail-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #334155;
}

.idea-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 24px;
}

.idea-detail-info {
    flex: 1;
}

.idea-detail-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.idea-detail-info p {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.idea-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.idea-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #64748b;
}

.idea-detail-meta i {
    color: #60a5fa;
}

.idea-detail-stats {
    display: flex;
    gap: 16px;
}

.stat-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    min-width: 120px;
}

.stat-card .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    display: block;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.idea-detail-description h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
    margin-top: 16px;
}

.idea-detail-description h4:first-child {
    margin-top: 0;
}

.idea-detail-description p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Waitlist Management Styles */
.waitlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.waitlist-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f1f5f9;
}

.waitlist-actions {
    display: flex;
    gap: 12px;
}

.export-btn, .refresh-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.refresh-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.export-btn:hover, .refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.waitlist-summary {
    margin-bottom: 24px;
}

.waitlist-stats {
    display: flex;
    gap: 24px;
}

.waitlist-stat {
    text-align: center;
}

.waitlist-stat .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #60a5fa;
    display: block;
}

.waitlist-stat .stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.waitlist-list-container {
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
}

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

.waitlist-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.table-instructions {
    color: #94a3b8;
    font-size: 0.75rem;
    font-style: italic;
}

.waitlist-list-header h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.waitlist-search {
    position: relative;
    display: flex;
    align-items: center;
}

.waitlist-search i {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 0.875rem;
}

.waitlist-search input {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 8px 12px 8px 32px;
    color: #f1f5f9;
    font-size: 0.875rem;
    width: 200px;
}

.waitlist-search input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.waitlist-list {
    max-height: 300px;
    overflow-y: auto;
}

.waitlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #334155;
    transition: background-color 0.2s ease;
}

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

.waitlist-item:hover {
    background: #1e293b;
}

.waitlist-item-info {
    flex: 1;
}

.waitlist-email {
    font-weight: 500;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.waitlist-date {
    font-size: 0.75rem;
    color: #64748b;
}

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

.copy-email-btn {
    background: #334155;
    border: 1px solid #475569;
    color: #cbd5e1;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.copy-email-btn:hover {
    background: #475569;
    color: #f1f5f9;
}

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

.waitlist-empty-state i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #475569;
}

.waitlist-empty-state p {
    font-size: 0.875rem;
}

/* Export Dropdown Styles */
.export-dropdown {
    position: relative;
    display: inline-block;
}

.export-btn.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.export-btn.dropdown-toggle:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.export-btn.dropdown-toggle i:last-child {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.export-dropdown.open .export-btn.dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

.export-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

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

.export-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.export-option:hover {
    background: #334155;
}

.export-option:first-child {
    border-radius: 6px 6px 0 0;
}

.export-option:last-child {
    border-radius: 0 0 6px 6px;
}

.export-option i {
    color: #60a5fa;
    width: 16px;
}

/* Waitlist Table Styles */
.waitlist-table-container {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    outline: none;
}

.waitlist-table-container:focus {
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

.waitlist-table {
    width: 100%;
    border-collapse: collapse;
}

.waitlist-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.waitlist-table th {
    color: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #334155;
    border-right: 1px solid #475569;
    white-space: nowrap;
    user-select: none;
    cursor: cell;
}

.waitlist-table th:first-child {
    border-radius: 0;
}

.waitlist-table th:last-child {
    border-radius: 0;
    border-right: none;
}


.waitlist-table th.selected {
    background: #3b82f6 !important;
    color: white !important;
    box-shadow: inset 0 0 0 1px #1d4ed8;
}

.waitlist-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #334155;
    border-right: 1px solid #475569;
    vertical-align: middle;
}

.waitlist-table tbody tr {
}


.waitlist-table tbody tr:last-child td {
    border-bottom: none;
}

.waitlist-table td:last-child {
    border-right: none;
}

.waitlist-table .email-cell {
    font-weight: 500;
    color: #f1f5f9;
    word-break: break-all;
    user-select: none;
}

.waitlist-table .date-cell {
    font-size: 0.875rem;
    color: #94a3b8;
    white-space: nowrap;
    user-select: none;
}

/* Make all table cells behave like spreadsheet cells */
.waitlist-table td {
    user-select: none;
    cursor: cell;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background-color 0.2s ease;
}

/* Hover effects for table cells */
.waitlist-table th:hover {
    background: #334155;
    transition: background-color 0.2s ease;
}

.waitlist-table td:hover {
    background: #334155;
    transition: background-color 0.2s ease;
}

/* Ensure hover effects don't interfere with selected state */
.waitlist-table th.selected:hover {
    background: #3b82f6 !important;
}

.waitlist-table td.selected:hover {
    background: #3b82f6 !important;
}


.waitlist-table td.selected {
    background: #3b82f6 !important;
    color: white !important;
}

.waitlist-table td.selected .email-cell,
.waitlist-table td.selected .date-cell {
    color: white !important;
}

/* Table Selection Enhancement */

/* Enhanced cell selection for spreadsheet-like behavior */
.waitlist-table {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.waitlist-table tbody tr {
    transition: background-color 0.2s ease;
}

/* Improve selection visibility */
.waitlist-table td:focus {
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

/* Selection rectangle styling */
.waitlist-table td.selected {
    background: #3b82f6 !important;
    color: white !important;
    box-shadow: inset 0 0 0 1px #1d4ed8;
}

/* Prevent text selection within cells */
.waitlist-table td * {
    user-select: none;
}

/* View Details Button */
.view-details-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    height: 28px;
    justify-content: center;
    box-sizing: border-box;
}

.view-details-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.view-details-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.view-details-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Mobile Responsive for Idea Detail Modal */
@media (max-width: 768px) {
    .modal-content.extra-large {
        margin: 10px;
        max-height: calc(100vh - 20px);
        width: calc(100% - 20px);
    }
    
    .idea-detail-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .idea-detail-stats {
        justify-content: center;
    }
    
    .waitlist-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .waitlist-actions {
        justify-content: center;
    }
    
    .waitlist-stats {
        justify-content: center;
    }
    
    .waitlist-list-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .waitlist-header-left {
        text-align: center;
    }
    
    .table-instructions {
        text-align: center;
        margin-top: 4px;
    }
    
    .waitlist-search input {
        width: 100%;
    }
    
    .waitlist-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .waitlist-item-actions {
        justify-content: center;
    }
    
    .waitlist-table-container {
        max-height: 300px;
    }
    
    .waitlist-table th,
    .waitlist-table td {
        padding: 8px 12px;
        font-size: 0.875rem;
    }
    
    .waitlist-table th:last-child {
        width: auto;
    }
    
    .export-dropdown {
        width: 100%;
    }
    
    .export-btn.dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .export-menu {
        right: auto;
        left: 0;
        min-width: 100%;
    }
}

/* Typeahead Component Styles */
.typeahead-container {
    position: relative;
    width: 100%;
}

.typeahead-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.typeahead-input-container input,
.typeahead-button {
    width: 100%;
    padding: 16px 40px 16px 20px;
    border: 2px solid #475569;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #334155;
    color: #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.typeahead-button {
    background: #334155;
    border: 2px solid #475569;
    color: #f1f5f9;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 52px;
}

.typeahead-button:hover {
    border-color: #64748b;
    background: #475569;
}

.typeahead-button:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #475569;
}

.typeahead-button-text {
    flex: 1;
    text-align: left;
    color: #f1f5f9;
}

.typeahead-button.has-selections .typeahead-button-text {
    color: #3b82f6;
    font-weight: 500;
}

.typeahead-input-container input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #475569;
}

.typeahead-input-container input.showing-selections {
    color: #3b82f6;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.typeahead-input-container input:hover {
    border-color: #64748b;
    background: #475569;
}

.typeahead-arrow {
    position: absolute;
    right: 12px;
    color: #94a3b8;
    font-size: 0.875rem;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.typeahead-container.open .typeahead-arrow {
    transform: rotate(180deg);
}

.typeahead-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    margin-top: 6px;
    max-height: 600px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.typeahead-dropdown.show {
    display: block;
}

.typeahead-categories {
    padding: 24px;
}

.typeahead-category {
    margin-bottom: 24px;
}

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

.typeahead-category h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.typeahead-category h4 i {
    color: #3b82f6;
    font-size: 0.875rem;
}

.typeahead-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.typeahead-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    color: #cbd5e1;
    background: transparent;
    border: 1px solid transparent;
    min-height: 44px;
}

.typeahead-option:hover {
    background: #334155;
    color: #f1f5f9;
    border-color: #475569;
}

.typeahead-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
    margin: 0 16px 0 0;
    flex-shrink: 0;
    border-radius: 4px;
}

.typeahead-option input[type="checkbox"]:checked + span {
    color: #3b82f6;
    font-weight: 500;
}

.typeahead-option input[type="checkbox"]:checked + span .company-size {
    color: #60a5fa;
    font-weight: 400;
}

.typeahead-option span {
    line-height: 1.4;
    flex: 1;
}

.company-size {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
}

.typeahead-option input[type="checkbox"]:checked {
    background: #3b82f6;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    min-height: 20px;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
    animation: slideIn 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-tag .remove-tag {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    font-size: 0.875rem;
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.selected-tag .remove-tag:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

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

/* Responsive Design for Typeahead */
@media (max-width: 768px) {
    .typeahead-options {
        grid-template-columns: 1fr;
    }
    
    .typeahead-dropdown {
        max-height: 300px;
    }
    
    .typeahead-categories {
        padding: 12px;
    }
    
    .typeahead-category {
        margin-bottom: 16px;
    }
    
    .typeahead-option {
        padding: 12px 14px;
        font-size: 0.875rem;
        gap: 14px;
    }
    
    .typeahead-option input[type="checkbox"] {
        margin: 0 14px 0 0;
    }
}

@media (max-width: 480px) {
    .typeahead-dropdown {
        max-height: 250px;
    }
    
    .typeahead-categories {
        padding: 8px;
    }
    
    .typeahead-category h4 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .typeahead-option {
        padding: 10px 12px;
        font-size: 0.8rem;
        gap: 12px;
    }
    
    .typeahead-option input[type="checkbox"] {
        margin: 0 12px 0 0;
    }
    
    .selected-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/* URL Safety Indicator */
.url-safety-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.url-safety-indicator.safe {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.url-safety-indicator.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.url-safety-indicator.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.url-safety-indicator i {
    font-size: 1rem;
}

.url-safety-indicator .safety-message {
    flex: 1;
}

.url-safety-indicator .safety-details {
    margin-top: 4px;
    font-size: 0.75rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Individual Idea Page Styles */
.idea-detail-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
}

.idea-detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #334155;
}

.idea-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 12px;
    line-height: 1.2;
}

.idea-detail-tagline {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.4;
}

.idea-detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.idea-detail-meta .idea-date,
.idea-detail-meta .idea-website {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.875rem;
}

.idea-detail-meta .idea-website a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.idea-detail-meta .idea-website a:hover {
    color: #93c5fd;
}

.idea-detail-section {
    margin-bottom: 32px;
}

.idea-detail-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.idea-detail-section p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
}

.waitlist-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.waitlist-stats {
    display: flex;
    gap: 24px;
}

.waitlist-stat {
    text-align: center;
}

.waitlist-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
}

.waitlist-stat .stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

.join-waitlist-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.join-waitlist-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.join-waitlist-btn.joined {
    background: #10b981;
    cursor: default;
}

.join-waitlist-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Related Ideas Section */
.related-ideas-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #334155;
}

.related-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.related-idea-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.related-idea-card:hover {
    border-color: #475569;
    transform: translateY(-2px);
}

.related-idea-header {
    margin-bottom: 16px;
}

.related-idea-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.related-idea-tagline {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.4;
}

.related-idea-content {
    margin-bottom: 16px;
}

.related-idea-problem {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.5;
}

.related-idea-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.related-idea-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    color: #64748b;
}

.related-idea-waitlist {
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-idea-btn {
    background: transparent;
    color: #60a5fa;
    border: 1px solid #60a5fa;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.view-idea-btn:hover {
    background: #60a5fa;
    color: white;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 24px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #64748b;
}

.breadcrumb-item a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #93c5fd;
}

.breadcrumb-item[aria-current="page"] {
    color: #94a3b8;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.error-state i {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 24px;
}

.error-state h2 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 12px;
}

.error-state p {
    margin-bottom: 24px;
    line-height: 1.6;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-to-home-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Message System */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.message-success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.message-error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.message-info {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.message i {
    font-size: 1.125rem;
}

.message-success i {
    color: #10b981;
}

.message-error i {
    color: #ef4444;
}

.message-info i {
    color: #3b82f6;
}

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

/* Semantic HTML Improvements */
/* Removed conflicting .idea-card rule that was overriding flexbox display */

.idea-title-link {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.idea-title-link:hover {
    color: #60a5fa;
}

/* Responsive Design for Individual Idea Page */
@media (max-width: 768px) {
    .idea-detail-page {
        padding: 16px;
    }
    
    .idea-detail-title {
        font-size: 2rem;
    }
    
    .idea-detail-tagline {
        font-size: 1.125rem;
    }
    
    .idea-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .waitlist-info {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .related-ideas-grid {
        grid-template-columns: 1fr;
    }
    
    .message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
