/* TimeLogDialog — Jira-style time entry input with parsed-hours preview. */

.time-log-dialog {
    padding: 1.5rem;
    min-width: 400px;
    max-width: 560px;
}

.time-log-dialog .time-log-header {
    margin-bottom: 1.25rem;
}

.time-log-dialog .time-log-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rz-text-color);
}

.time-log-dialog .time-log-header .task-code {
    font-size: 0.8125rem;
    color: var(--rz-text-secondary-color);
    margin-top: 0.25rem;
}

.time-log-dialog .time-input-section {
    margin-bottom: 1.25rem;
}

.time-log-dialog .time-input-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rz-text-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.5rem;
}

.time-log-dialog .time-input-wrapper {
    position: relative;
}

.time-log-dialog .time-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    border: 2px solid var(--rz-base-300);
    border-radius: 8px;
    background: var(--rz-base-100);
    color: var(--rz-text-color);
    transition: all 0.15s ease;
}

.time-log-dialog .time-input-wrapper input:focus {
    outline: none;
    border-color: var(--rz-primary);
    background: var(--rz-base-background);
}

.time-log-dialog .time-input-wrapper input.invalid {
    border-color: var(--rz-danger);
}

.time-log-dialog .time-format-hint {
    font-size: 0.75rem;
    color: var(--rz-text-tertiary-color);
    margin-top: 0.5rem;
}

.time-log-dialog .time-preview {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--rz-primary-lighter);
    color: var(--rz-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.time-log-dialog .time-preview.invalid {
    background: var(--rz-danger-lighter);
    color: var(--rz-danger);
}

.time-log-dialog .form-field {
    margin-bottom: 1rem;
}

.time-log-dialog .form-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rz-text-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.5rem;
}

.time-log-dialog .dialog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rz-base-200);
}

.time-log-dialog .delete-btn {
    color: var(--rz-danger);
}
