.stopwatch-container {
    font-family: Arial, Helvetica, sans-serif;
    /*background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    */
	box-sizing: border-box;
    margin: 80px auto;
    color: #333;
}

.stopwatch-header {
    text-align: center;
    margin-bottom: 20px;
}

.stopwatch-header h2 {
    margin: 0;
    font-size: 32px;
    color: #2c3e50;
}

.time-display {
    font-size: 72px;
    text-align: center;
    margin: 80px 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    color: #2c3e50;
    font-weight: bold;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stopwatch-btn {
    padding: 12px 24px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
}

.stopwatch-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.stopwatch-btn:active {
    transform: translateY(0);
}

.stopwatch-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.stopwatch-start {
    background-color: #4CAF50;
    color: white;
}

.stopwatch-stop {
    background-color: #F44336;
    color: white;
}

.stopwatch-reset {
    background-color: #9E9E9E;
    color: white;
}

.stopwatch-lap {
    background-color: #2196F3;
    color: white;
}

.stopwatch-export {
    background-color: #FF9800;
    color: white;
}

.sound-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.stopwatch-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.stopwatch-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.stopwatch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.stopwatch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .stopwatch-slider {
    background-color: #2196F3;
}

input:checked + .stopwatch-slider:before {
    transform: translateX(26px);
}

.laps-container {
    height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.laps-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    text-align: center;
    background-color: #f8f9fa;
}

.lap-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.lap-item:nth-child(even) {
    background-color: #f9f9f9;
}

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

.stopwatch-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .time-display {
        font-size: 48px;
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
    }
    
    .stopwatch-btn {
        width: 80%;
        max-width: 250px;
    }
    
    .laps-header,
    .lap-item {
        grid-template-columns: 1fr 1fr 1fr;
        font-size: 14px;
    }
}