.time-input-group {
    margin-bottom: 1rem;
}
.time-input-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}
.time-input-group .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 0.375rem;
    overflow: hidden;
}
.operation-buttons .btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
}
.operation-buttons .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.operation-buttons .btn-success {
    background-color: #198754;
    border-color: #198754;
}
.operation-buttons .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}
.operation-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.result-container {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-top: 1rem;
}
.result-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}
.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d6efd;
    word-break: break-all;
}
.copy-btn {
    position: relative;
}
.copy-success {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #198754;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.copy-success.show {
    opacity: 1;
}
.current-time {
    background-color: #e9f7fe;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #0d6efd;
    border-left: 4px solid #0d6efd;
}
.time-examples {
    margin-top: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    padding: 1rem;
}
.time-examples h6 {
    color: #495057;
    margin-bottom: 0.75rem;
}
.example-item {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #dee2e6;
}
.example-item:last-child {
    border-bottom: none;
}
.operation-type-row {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}
.time-unit-row {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}
.time-unit-col {
    margin-bottom: 0.5rem;
}
.time-unit-col:last-child {
    margin-bottom: 0;
}
.time-unit-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}
.time-unit-input {
    text-align: center;
    font-weight: 500;
    height: 38px;
}
.quick-presets {
    margin-top: 0.5rem;
}
.preset-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}
.history-list {
    max-height: 200px;
    overflow-y: auto;
}
.history-item {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.history-item:hover {
    background-color: #f8f9fa;
}
.history-item:last-child {
    border-bottom: none;
}
.calculation-summary {
    background-color: #f0f9ff;
    border-left: 4px solid #0d6efd;
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.compact-form-group {
    margin-bottom: 0.75rem;
}
.form-text-small {
    font-size: 0.8rem;
    color: #6c757d;
}
.compact-input-group {
    margin-bottom: 0.5rem;
}
.operation-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    margin-left: 0.25rem;
}
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.operation-type-buttons {
    display: flex;
    gap: 0.5rem;
}
.operation-type-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
}
.operation-type-btn:hover {
    background-color: #f8f9fa;
}
.operation-type-btn.active {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-weight: 600;
}
.input-with-label {
    position: relative;
}
.input-with-label .unit-label {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: #6c757d;
    pointer-events: none;
}
