/* Slider-specific styles only - global styles handled by styles.css */

.slider-demo {
    width: 80%;
    max-width: 1600px;
    position: relative;
    z-index: 10;
    margin-top: 40vh;
}

.slider-demo:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: -9;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}



.slider-header {
    text-align: center;
    margin-bottom: 32px;
}

.subtitle-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.subtitle.opacity-dim {
    opacity: 0.3;
}

.slider-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: center;
}

.slider-buttons {
    display: flex;
    gap: 0;
    margin-bottom: -20px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 10;
}

.slider-button {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    cursor: pointer;
    border-radius: 0;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-button:first-child {
    border-radius: 20px 0 0 0;
}

.slider-button:last-child {
    border-right: none;
    border-radius: 0 20px 0 0;
}

.slider-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.slider-button.active {
    background: rgba(255, 255, 255, 0.15);
    border-bottom: none;
}

.slider-button.active .button-progress {
    background: transparent;
}

.button-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: inherit;
    z-index: -10;
    overflow: hidden;
}

.progress-line {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    transition: width 10s linear;
    opacity: 0.4;
}

.slider-button.active .progress-line {
    width: 100%;
}

/* Button-specific colors using Carbon brand colors */
.slider-button .button-icon {
    background: transparent; /* Inactive state - transparent with border */
}

.slider-button.active:nth-child(1) .button-icon {
    background: #ff4738; /* Neon red/orange */
}
.slider-button:nth-child(1) .progress-line {
    background: #ff4738;
}

.slider-button.active:nth-child(2) .button-icon {
    background: #ff4738; /* Neon red/orange */
}
.slider-button:nth-child(2) .progress-line {
    background: #ff4738;
}

.slider-button.active:nth-child(3) .button-icon {
    background: #ff4738; /* Neon red/orange */
}
.slider-button:nth-child(3) .progress-line {
    background: #ff4738;
}

.slider-button.active:nth-child(4) .button-icon {
    background: #ff4738; /* Neon red/orange */
}
.slider-button:nth-child(4) .progress-line {
    background: #ff4738;
}

.button-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-button.active .button-icon {
    box-shadow: 0 0 15px rgba(255, 71, 56, 0.3);
    border: none;
}

.slider-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.slider-button.active .slider-icon {
    color: white;
}

.button-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -0.01em;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.slider-button.active .button-text {
    color: white;
}

.slider-content {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
    position: relative;
    min-height: 500px;
}

.slider-content-area {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%) translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.slider-content-area.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0) translateY(40px);
    z-index: 2;
}

.slider-content-area.exiting {
    transform: translateX(-100%) translateY(40px);
    z-index: 0;
}

.content-inner {
    display: flex;
    height: 100%;
    min-height: 400px;
}

.content-text {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-inner h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.content-inner p {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    opacity: 0.8;
}

.content-visual {
    flex: 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.mock-dashboard {
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.dashboard-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.dashboard-content {
    padding: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    text-align: center;
    padding: 20px 12px;
    background: transparent;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.charging-metrics {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}

.metric {
    text-align: center;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.catalog-grid {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.catalog-item {
    padding: 20px;
    background: transparent;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.events-list {
    margin-top: 20px;
}

.event-item {
    padding: 16px 20px;
    background: transparent;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.chart-container {
    height: 300px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
}

.chart-container canvas {
    filter: drop-shadow(0 0 10px rgba(255, 71, 56, 0.6));
}

/* Responsive Design */
@media (max-width: 768px) {

    .slider-heading {
        font-size: 2rem;
    }

    .slider-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-button {
        width: 200px;
        justify-content: center;
    }

    .content-inner {
        flex-direction: column;
    }

    .chart-container {
        height: 200px !important;
        max-height: 200px;
    }
    
    
    .content-text {
        padding: 32px 24px;
    }
    
    .content-inner h3 {
        font-size: 2rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
}

.slate-text {
    position: absolute;
    top:18%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 
        inset 0 0 5px #ffffff,
        inset 0 0 10px #ffffff,
        inset 0 0 15px #ffffff,
        inset 0 0 20px #ffffff,
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 255, 255, 0.2);
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
    padding: 20px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.1);
}

