.stopwatch-section {
    min-height: 100vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stopwatch-section .container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculator-title i {
    font-size: 32px;
}

.calculator-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.calculator-badge {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-item {
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
}

.stopwatch-main {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.display-section {
    text-align: center;
    margin-bottom: 35px;
}

.time-display {
    font-family: 'Courier New', monospace;
    font-size: 48px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
}

.time-unit {
    display: inline-block;
    min-width: 50px;
    text-align: right;
}

.time-unit.ms {
    min-width: 30px;
    font-size: 32px;
    color: #f5576c;
}

.separator {
    color: #f5576c;
    margin: 0 2px;
}

.ms-separator {
    font-size: 32px;
}

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

.control-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.start-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.start-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(67, 233, 123, 0.4);
}

.pause-btn {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.pause-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(250, 112, 154, 0.4);
}

.reset-btn {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: #fff;
}

.reset-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(161, 140, 209, 0.4);
}

.lap-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.lap-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

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

.laps-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #f5576c;
}

.laps-list {
    max-height: 200px;
    overflow-y: auto;
}

.empty-hint {
    text-align: center;
    color: #999;
    padding: 20px;
}

.lap-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}

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

.lap-number {
    font-weight: 600;
    color: #f5576c;
}

.lap-time {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #333;
}

.stats-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
}

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

.stat-card {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #f5576c;
}

@media (max-width: 480px) {
    .stopwatch-main {
        padding: 25px 20px;
    }

    .time-display {
        font-size: 36px;
    }

    .time-unit.ms {
        font-size: 24px;
    }

    .control-btn {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
}