* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --app-zoom: 1;
    /* Legacy aliases for view files */
    --bg-color: #121212;
    --text-color: #ffffff;
}

html, body {
    background: #121212;
    /* TikTok dark mode background */
    color: #ffffff;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

.wrapper {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    zoom: var(--app-zoom);
    transform-origin: top center;
}

.left-side {
    width: 80px;
    min-height: calc(100vh - 40px);
    padding: 20px 10px;
    background: rgba(18, 18, 18, 0.95);
    /* Darker TikTok background */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.main-container {
    flex: 1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.dashboard-card {
    background: rgba(18, 18, 18, 0.95);
    /* Darker TikTok background */
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.header {
    background: rgba(18, 18, 18, 0.95);
    /* Darker TikTok background */
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo-det {
    color: #FE2C55;
    /* TikTok primary color */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.action-button {
    background: #FE2C55;
    /* TikTok primary color */
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.action-button:hover {
    background: #e62548;
    /* Darker TikTok primary color */
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.metric-item {
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.metric-value {
    font-size: 24px;
    font-weight: bold;
    color: #FE2C55;
    /* TikTok primary color */
    display: block;
}

.metric-label {
    font-size: 14px;
    color: #818394;
    margin-top: 5px;
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.marketing-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marketing-button:hover {
    background: rgba(66, 66, 66, 0.2);
    /* Changed from blue to gray */
    transform: translateY(-2px);
}

.marketing-button i {
    font-size: 24px;
    margin-bottom: 8px;
}

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

.service-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    border-radius: 5px;
}

.nav-icon {
    width: 40px;
    height: 40px;
    color: #818394;
    cursor: pointer;
}

.nav-icon.active {
    color: #999999;
    /* Changed from blue to gray */
    background: rgba(66, 66, 66, 0.2);
    /* Changed from blue to gray */
}

.service-item.on-sale {
    background: rgba(66, 212, 85, 0.2);
    border: 1px solid #4dd463;
}

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

.modal-content {
    background: rgba(26, 26, 26, 0.95);
    /* Changed from blue to gray */
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

.modal-content input {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #666666;
    /* Changed from blue to gray */
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    color: white;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.delete-button:hover {
    background: #b33636;
}

.service-item {
    cursor: pointer;
}

.service-item:hover {
    background: rgba(66, 66, 66, 0.2);
    /* Changed from blue to gray */
}

/* Enhanced card animations */
.dashboard-card {
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(66, 66, 66, 0.1),
            /* Changed from blue to gray */
            transparent);
    transition: 0.5s;
}

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

/* Enhanced metric items */
.metric-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(66, 66, 66, 0.2);
    /* Changed from blue to gray */
}

.metric-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #666666;
    /* Changed from blue to gray */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s;
}

.metric-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* New loading indicator */
.loading-indicator {
    width: 100%;
    height: 2px;
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    position: relative;
    margin-top: 10px;
}

.loading-indicator::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 0;
    background: #666666;
    /* Changed from blue to gray */
    animation: loading 30s linear infinite;
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Enhanced marketing buttons */
.marketing-button {
    position: relative;
    overflow: hidden;
}

.marketing-button i {
    transition: transform 0.3s ease;
}

.marketing-button:hover i {
    transform: scale(1.2);
}

.marketing-button span {
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
    color: #818394;
}

/* New notification badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d44242;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Enhanced modal styles */
.modal-content {
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* New tooltip styles */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.95);
    /* Changed from blue to gray */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    background: rgba(26, 26, 26, 0.95);
    /* Changed from blue to gray */
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

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

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

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

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

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Add these new styles */
.dashboard-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav-icon {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-icon.active {
    background: rgba(66, 66, 66, 0.2);
    color: #999999;
}

.settings-form {
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #818394;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #666666;
    /* Changed from blue to gray */
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    color: white;
}

/* Document Section Styles */
.document-upload {
    padding: 20px;
}

.upload-form {
    width: 100%;
}

.upload-area {
    border: 2px dashed #666666;
    /* Changed from blue to gray */
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: rgba(66, 66, 66, 0.2);
    /* Changed from blue to gray */
}

.upload-area i {
    font-size: 48px;
    color: #666666;
    /* Changed from blue to gray */
    margin-bottom: 15px;
}

.upload-area p {
    margin-bottom: 15px;
    color: #818394;
}

.document-list {
    padding: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.document-item:hover {
    background: rgba(66, 66, 66, 0.2);
    /* Changed from blue to gray */
}

.document-item i {
    margin-right: 10px;
    color: #666666;
    /* Changed from blue to gray */
}

.document-item .delete-icon {
    margin-left: auto;
    color: #d44242;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-item:hover .delete-icon {
    opacity: 1;
}

.pdf-viewer {
    width: 100%;
    height: 600px;
    background: #121212;
    /* Changed from white to TikTok dark mode background */
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}

.document-viewer {
    background: #121212;
    /* Added to ensure viewer matches theme */
    color: #ffffff;
}

/* Update the document container background */
.document-upload {
    background: rgba(18, 18, 18, 0.95);
    border-radius: 10px;
}

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

.document-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.action-button.small {
    padding: 4px;
    min-width: 32px;
    height: 32px;
}

.action-button.small i {
    font-size: 18px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
}

.reviews-container {
    padding: 20px;
}

.reviews-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rating-chart {
    flex: 1;
    max-width: 600px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar .bar {
    flex: 1;
    height: 20px;
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background: #666666;
    /* Changed from blue to gray */
    transition: width 0.3s ease;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Add these new styles */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #666666;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button:hover {
    background: #555555;
    transform: translateY(-2px);
}

.metric-trend {
    font-size: 0.8rem;
    margin-top: 5px;
}

.metric-trend.positive {
    color: #4dd463;
}

.metric-trend.negative {
    color: #d44242;
}

.reviews-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
}

.reviews-section h3 {
    margin-bottom: 15px;
    color: #ffffff;
}

/* Update existing styles */
.metric-card {
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #666666;
    /* Changed from blue to gray */
}

.metric-card:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Updated styles to match the theme */
.header-buttons {
    display: flex;
    gap: 10px;
}

.header-button {
    background: rgba(66, 66, 66, 0.1);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-button:hover {
    background: rgba(66, 66, 66, 0.2);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    background: rgba(66, 66, 66, 0.1);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.action-btn:hover {
    background: rgba(66, 66, 66, 0.2);
}

.trend-indicator {
    font-size: 0.8rem;
    margin-top: 5px;
}

.trend-indicator.positive {
    color: #4CAF50;
}

.trend-indicator.negative {
    color: #f44336;
}

.rating-stars {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Add these new styles */
.performance-metrics {
    margin-top: 20px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
}

.performance-metrics h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(66, 66, 66, 0.1);
    border-radius: 3px;
    margin-top: 8px;
}

.progress {
    height: 100%;
    background: #666666;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Update existing metric-item for website stats */
.stat-item {
    background: rgba(26, 26, 26, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #666666;
}

.stat-label {
    color: #818394;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Funnel Management Styles */
.funnel-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.funnel-tab {
    background: rgba(66, 66, 66, 0.1);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.funnel-tab.active {
    background: #666666;
}

.funnel-tab:hover {
    background: rgba(66, 66, 66, 0.2);
}

.pages-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.funnel-group {
    display: none;
    /* Hidden by default */
}

.funnel-group.active {
    display: block;
}

.page-card {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.page-card:hover {
    background: rgba(26, 26, 26, 0.7);
    transform: translateY(-2px);
}

.page-info {
    flex: 1;
}

.page-info h4 {
    color: #ffffff;
    margin: 0 0 5px 0;
}

.page-url {
    color: #818394;
    font-size: 0.9rem;
}

.page-stats {
    display: flex;
    gap: 15px;
    margin: 0 20px;
}

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

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

.maps-preview-section {
    margin-top: 20px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
    padding: 20px;
}

.maps-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.maps-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.map-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    border-radius: 8px;
    flex: 1;
}

.map-stat-item i {
    color: #666666;
    /* Changed from blue to gray */
    font-size: 24px;
    margin-bottom: 8px;
}

.map-stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.map-stat-item .stat-label {
    color: #818394;
    font-size: 0.9rem;
    margin-top: 4px;
}

.map-stat-item:hover {
    background: rgba(66, 66, 66, 0.2);
    /* Changed from blue to gray */
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Boosting Section Styles */
.boost-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.boost-category {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
    padding: 20px;
}

.boost-category h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    margin-bottom: 15px;
}


.boost-btn {
    background: rgba(66, 66, 66, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boost-btn:hover {
    background: rgba(66, 66, 66, 0.2);
    transform: translateY(-2px);
}

.boost-btn i {
    font-size: 24px;
}

.boost-btn .count {
    font-size: 0.8rem;
    color: #818394;
}

.provider-link {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.provider-input {
    flex: 1;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(66, 66, 66, 0.2);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 5px;
}

.save-link-btn {
    background: #666666;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-link-btn:hover {
    background: #555555;
}

/* Updated Boost Management Styles */
.boost-management {
    padding: 20px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
}

.platform-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.platform-tab {
    background: rgba(66, 66, 66, 0.1);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.platform-tab.active {
    background: #666666;
}

.boost-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.boost-action {
    background: rgba(18, 18, 18, 0.95);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.item-label {
    flex: 1;
    font-size: 1.1rem;
    color: #ffffff;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.input-label {
    font-size: 0.75rem;
    color: #818394;
    text-transform: uppercase;
}

.boost-count,
.boost-drip {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(66, 66, 66, 0.5);
    color: #FE2C55;
    padding: 5px 10px;
    border-radius: 5px;
    width: 100px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.save-count-btn,
.open-link-btn,
.edit-link-btn {
    background: rgba(66, 66, 66, 0.2);
    color: #ffffff;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-count-btn:hover,
.open-link-btn:hover,
.edit-link-btn:hover {
    background: rgba(66, 66, 66, 0.3);
}

.save-count-btn.saved {
    background: #4CAF50;
}

.provider-link-section {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.provider-link-input {
    flex: 1;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(66, 66, 66, 0.2);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
}

.save-provider-link {
    background: #666666;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.save-provider-link:hover {
    background: #555555;
}

/* Add these to your existing styles */
.boost-action.selected {
    background: rgba(66, 66, 66, 0.2);
    border-left: 3px solid #666666;
}

.boost-action.has-link {
    position: relative;
}

.boost-action.has-link::after {
    content: '';
    position: absolute;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
}

.platform-tab:hover {
    background: rgba(66, 66, 66, 0.2);
}

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

.modal-content {
    background: rgba(26, 26, 26, 0.95);
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    max-width: 500px;
    position: relative;
}

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

.modal-header h3 {
    color: #ffffff;
    margin: 0;
}

.close-modal {
    color: #818394;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #ffffff;
}

#providerLinkInput {
    width: 100%;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(66, 66, 66, 0.2);
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
}

.save-count-btn,
.open-link-btn,
.edit-link-btn {
    background: rgba(66, 66, 66, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-count-btn:hover,
.open-link-btn:hover,
.edit-link-btn:hover {
    background: rgba(66, 66, 66, 0.3);
}

/* Update modal styles */
.modal-content {
    background: rgba(26, 26, 26, 0.95);
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    max-width: 500px;
    position: relative;
}

.modal-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

#providerLinkInput {
    flex: 1;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(66, 66, 66, 0.2);
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
}

.save-modal-btn {
    background: #666666;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.save-modal-btn:hover {
    background: #555555;
}

.save-modal-btn i {
    font-size: 18px;
}

/* Add this section under Account Settings in the HTML */
.api-settings {
    margin-top: 30px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
}

.api-settings h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.api-input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #666666;
    /* Changed from blue to gray */
    background: rgba(66, 66, 66, 0.1);
    /* Changed from blue to gray */
    color: white;
}

.api-input:focus {
    outline: none;
    border-color: #666666;
    /* Changed from blue to gray */
    box-shadow: 0 0 0 2px rgba(66, 66, 66, 0.2);
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

.setup-card {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
    overflow: hidden;
}

.setup-content {
    padding: 20px;
}

.setup-item {
    background: rgba(66, 66, 66, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
}

.item-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.item-info h4 {
    margin: 0;
    color: #ffffff;
}

.item-details {
    margin-left: 33px;
}

.requirements,
.action-steps {
    margin-top: 15px;
}

.requirements h5,
.action-steps h5 {
    color: #ffffff;
    margin-bottom: 10px;
}

.requirements ul,
.action-steps ol {
    margin-left: 20px;
    color: #818394;
}

.requirements li,
.action-steps li {
    margin: 5px 0;
}

.setup-item a {
    color: #666666;
    text-decoration: none;
}

.setup-item a:hover {
    text-decoration: underline;
}

.setup-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.checklist-item {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.item-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.item-info h4 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1em;
}

.item-details {
    margin-left: 35px;
    margin-top: 15px;
}

.item-details ul,
.steps ol {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
    color: #818394;
}

.item-details li {
    margin: 8px 0;
}

.steps h5 {
    color: #ffffff;
    margin: 15px 0 10px 0;
}

.checklist-item a {
    color: #666666;
    text-decoration: none;
}

.checklist-item a:hover {
    text-decoration: underline;
}

h3 {
    color: #ffffff;
    margin: 30px 0 20px 0;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.progress-container {
    background: rgba(26, 26, 26, 0.95);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: #666666;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-stats {
    color: #818394;
    font-size: 0.9em;
    margin-top: 10px;
    text-align: right;
}

.setup-step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.step-number {
    background: #666666;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
    padding: 20px;
    flex-grow: 1;
}

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-title h4 {
    margin: 0;
    color: white;
}

.step-details {
    margin-left: 35px;
    margin-top: 15px;
}

.step-details ul,
.step-actions ol {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
    color: #818394;
}

.step-details li {
    margin: 8px 0;
}

.step-actions h5 {
    color: white;
    margin: 15px 0 10px 0;
}

.setup-categories h3 {
    color: white;
    margin: 30px 0 20px 0;
}

.export-btn {
    background: #666666;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.export-btn:hover {
    background: #555555;
}

.setup-step {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.setup-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.spreadsheet-btn {
    background-color: #666666;
    /* Match the color scheme */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.spreadsheet-btn:hover {
    background-color: #555555;
    /* Darker shade on hover */
}

/* Add these styles */
.legal-bookmarks-card {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
}

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

.bookmark-category {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
    padding: 15px;
}

.bookmark-category h4 {
    color: #ffffff;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(66, 66, 66, 0.2);
}

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

.bookmark-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #818394;
    text-decoration: none;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.bookmark-link:hover {
    background: rgba(66, 66, 66, 0.1);
    color: #ffffff;
    transform: translateX(5px);
}

.bookmark-link i {
    color: #666666;
}

.repair-guides-section {
    padding: 20px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 12px;
    margin: 20px;
}

.repair-guide-card {
    background: rgba(66, 66, 66, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(66, 66, 66, 0.2);
}

.repair-guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(66, 66, 66, 0.4);
}

.guide-header {
    margin-bottom: 20px;
}

.guide-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.guide-title h3 {
    margin: 0;
    font-size: 1.4em;
    color: #ffffff;
}

.device-badge {
    background: #666666;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

.guide-meta {
    display: flex;
    gap: 20px;
    color: #818394;
    font-size: 0.9em;
}

.guide-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-meta i {
    font-size: 1.1em;
    color: #666666;
}

.guide-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.section-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.section-item:hover {
    background: rgba(66, 66, 66, 0.2);
    transform: translateX(5px);
}

.section-item i {
    color: #666666;
}

.view-guide-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #666666;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.view-guide-button:hover {
    background: #555555;
    transform: translateY(-2px);
}

.view-guide-button i {
    font-size: 1.1em;
}

/* Update just the button styles */
.guide-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.view-guide-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: linear-gradient(45deg, #666666, #777777);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(66, 66, 66, 0.2);
    min-width: 200px;
}

.view-guide-button:hover {
    background: linear-gradient(45deg, #555555, #666666);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 66, 66, 0.3);
}

.view-guide-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(66, 66, 66, 0.2);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-text {
    font-size: 1.1em;
}

.arrow-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.view-guide-button:hover .arrow-icon {
    transform: translateX(4px);
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(66, 66, 66, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
}

.count,
.delay {
    color: #FE2C55;
    font-weight: bold;
    margin: 0 15px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-button {
    background: rgba(66, 66, 66, 0.2);
    border: none;
    border-radius: 5px;
    padding: 8px;
    color: white;
    cursor: pointer;
}

.action-button:hover {
    background: rgba(66, 66, 66, 0.3);
}

.service-stats {
    display: flex;
    gap: 20px;
    color: #818394;
}

.service-stats span {
    color: #FE2C55;
    margin-left: 5px;
}

.service-actions {
    display: flex;
    gap: 10px;
}

.service-actions i {
    cursor: pointer;
    color: #818394;
}

.service-actions i:hover {
    color: #FE2C55;
}

.service-counts {
    display: flex;
    gap: 20px;
    margin-left: 20px;
}

.count,
.delay {
    color: #FE2C55;
}

.service-count,
.service-delay {
    color: #FE2C55;
    font-weight: bold;
}

.service-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.service-actions i {
    cursor: pointer;
    color: #818394;
}

.service-actions i:hover {
    color: #FE2C55;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.count-input,
.delay-input {
    background: transparent;
    border: none;
    color: #FE2C55;
    width: 60px;
    text-align: center;
}

.action-buttons button {
    background: transparent;
    border: none;
    color: #818394;
    cursor: pointer;
}

.action-buttons button:hover {
    color: #FE2C55;
}

.count-input,
.drip-feed-input {
    width: 80px;
    background: transparent;
    border: 1px solid #666;
    color: #FE2C55;
    padding: 5px;
    text-align: center;
    border-radius: 4px;
}

.service-inputs {
    display: flex;
    gap: 10px;
}

.service-count,
.service-drip {
    background: transparent;
    border: 1px solid #666;
    color: #FE2C55;
    padding: 5px;
    width: 60px;
    text-align: center;
}

/* End of Boost Styles */

.setup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.setup-column {
    min-width: 350px;
}

.setup-step {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.setup-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Zoom Controls */
.zoom-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zoom-btn i {
    font-size: 18px;
}

.zoom-btn:hover {
    background: #FE2C55;
    border-color: #FE2C55;
    transform: scale(1.1);
}

#zoomLevel {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Monaco', 'Consolas', monospace;
}
