/* Viewport Size Checker Styles */

/* Main display area */
.viewport-display {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.viewport-dimension {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dimension-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    line-height: 1;
}

.dimension-label {
    font-size: 1rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.viewport-separator {
    font-size: 2rem;
    font-weight: 300;
    color: #6c757d;
    align-self: center;
    padding: 0 15px;
}

/* Breakpoint indicators */
.breakpoint-indicators {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breakpoint {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breakpoint-label {
    width: 100px;
    font-size: 0.85rem;
    color: #6c757d;
}

.breakpoint-bar {
    flex-grow: 1;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.breakpoint-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #198754;
    transition: width 0.3s ease;
}

.breakpoint.active .breakpoint-bar::after {
    width: 100%;
}

.breakpoint.active .breakpoint-label {
    font-weight: bold;
    color: #198754;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .dimension-value {
        font-size: 2rem;
    }
    
    .viewport-separator {
        font-size: 1.5rem;
        padding: 0 10px;
    }
}

/* Animation for copy button */
@keyframes flash {
    0% { background-color: transparent; }
    50% { background-color: rgba(25, 135, 84, 0.2); }
    100% { background-color: transparent; }
}

.copied {
    animation: flash 1s;
}