/* Pages Specific Styles */

/* Login */
.login-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, var(--bg-soft) 0%, var(--bg) 100%);
}

.login-card {
    width: 100%;
    max-width: 450px;
    padding: 50px 40px;
    text-align: center;
}

/* Dashboard Specific */
.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--accent);
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.tab-nav-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px;
    border-radius: 18px;
    border: 1px solid var(--border);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 14px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 16px;
    opacity: 0.7;
}

.tab-btn:hover {
    color: var(--accent);
    background: rgba(255, 215, 154, 0.05);
}

.tab-btn.active {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.tab-btn.active i {
    opacity: 1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

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

/* Timeline (CRM) */
.timeline {
    margin-top: 20px;
}

.timeline-item {
    position: relative;
    padding-right: 25px;
    padding-bottom: 25px;
    border-right: 2px solid var(--border);
}

.timeline-item:last-child {
    border-right-color: transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
}

.timeline-time {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
}

/* Progress Bars */
.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent);
    transition: width 1s ease-in-out;
}

/* Specific Grid Adjustments */
.intel-card {
    background: rgba(255, 215, 154, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.rank-circle {
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.top-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.top-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
    transform: translateX(-5px);
}

.top-list-item:last-child {
    margin-bottom: 0;
}

.activity-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    opacity: 0.8;
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--muted);
    opacity: 0.3;
}

.tab-pills {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 10px;
    height: fit-content;
}

.pill {
    padding: 6px 14px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.pill.active {
    background: var(--accent);
    color: var(--bg);
}

/* CRM Status Colors */
.s-new {
    color: #FFA500 !important;
    font-weight: bold;
}

/* Orange */
.s-contacted {
    color: #FFD700 !important;
    font-weight: bold;
}

/* Gold */
.s-interested {
    color: #87CEEB !important;
    font-weight: bold;
}

/* SkyBlue */
.s-negotiation {
    color: #1E90FF !important;
    font-weight: bold;
}

/* DodgerBlue */
.s-converted {
    color: #32CD32 !important;
    font-weight: bold;
}

/* LimeGreen */
.s-lost {
    color: #FF6347 !important;
    font-weight: bold;
    opacity: 0.7;
}

/* Tomato */

select.status-select-inline {
    background: transparent;
    border: none;
    font-family: inherit;
    cursor: pointer;
}