body {
    background-color: #020811;
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
}

.timer-container {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.timer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: #111828;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Estilos específicos para o input do rastreador de tempo */
.timer-header .task-input {
    flex-grow: 1;
    background: #020811;
    padding:15px;
    font-size: 16px;
    border: none !important;
    border-radius: 5px;
    font-family: 'Figtree', Arial, sans-serif;
    color: white;
    margin: 0; /* Removendo margin */
    width: auto; /* Removendo width 100% */
}

.timer-header .task-input:focus {
    outline: none;
}

.timer-header .task-input::placeholder {
    color: #8e94b2;
}

.timer-display {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    min-width: 120px;
    text-align: center;
}

.timer-controls {
    display: flex;
    gap: 10px;
}

.timer-button {
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #32CD32;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.timer-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Estilo quando o timer está rodando */
.timer-button.running {
    background-color: #FF0000;
}

.timer-button.running:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.activities-section {
    background-color: #111828;
    border-radius: 10px;
    padding: 20px;
}

.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.activities-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.total-time {
    color: #8e94b2;
    font-size: 16px;
}

.period-filter {
    position: relative;
    margin-bottom: 20px;
}

.period-select {
    
    padding: 10px 15px;
    background-color: #020811;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    min-width: 150px;
}

.period-select option {
    background-color: #020811;
    color: #ffffff;
    padding: 10px;
}

.task-list {
    background-color: #111828;
    border-radius: 8px;
    overflow: hidden;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #020811;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.task-info {
    flex-grow: 1;
}

.task-description {
    font-weight: 500;
    margin-bottom: 5px;
    color: #ffffff;
}

.task-time-range {
    color: #9ca3af;
    font-size: 0.9em;
}

.task-duration {
    color: #9ca3af;
    font-weight: 500;
    margin-left: 15px;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.task-action-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.task-action-btn:hover {
    color: #ffffff;
}

.task-action-btn.edit:hover {
    color: #60a5fa;
}

.task-action-btn.delete:hover {
    color: #ef4444;
}

.task-item.editing .task-description {
    display: none;
}

.task-edit-input {
    width: 100%;
    padding: 5px;
    border: 1px solid #374151;
    border-radius: 4px;
    font-size: 1em;
    margin-bottom: 5px;
    background-color: #1f2937;
    color: #ffffff;
}

.task-edit-input:focus {
    outline: none;
    border-color: #60a5fa;
}

#main-content {
    background-color: #020811;
}

.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.floating-button:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.floating-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #1e2432;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.date-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: #8b8b8b;
    font-size: 14px;
}

.input-group input {
    padding: 8px 12px;
    border: 1px solid #2d3545;
    border-radius: 6px;
    background: #171c26;
    color: #fff;
    font-size: 14px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cancel-button, .export-button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-button {
    background: transparent;
    color: #8b8b8b;
    border: 1px solid #2d3545;
}

.cancel-button:hover {
    background: #2d3545;
    color: #fff;
}

.export-button {
    background: #4a90e2;
    color: #fff;
}

.export-button:hover {
    background: #357abd;
}

.date-header {
    margin: 20px 0 10px;
    padding: 0 15px;
}

.date-header h3 {
    color: #8b8b8b;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #2d3545;
}
