/* Basic styles from style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;700;900&display=swap');

:root {
  --color-bg: #fdf6e9; /* Soft Beige */
  --color-primary: #a7c7e7; /* Calming Blue */
  --color-secondary: #fddda9; /* Gentle Peach */
  --color-text: #36454f; /* Deep Charcoal */
  --color-accent: #a8e6cf; /* Muted Mint */
  --color-white: #ffffff;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

.logo a {
    text-decoration: none;
    color: var(--color-text);
}

/* onelog specific styles */
.log-controls {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.control-group label {
    margin-bottom: 10px;
    font-weight: 700;
}

.control-group button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    background-color: var(--color-secondary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.control-group button:hover {
    background-color: var(--color-accent);
}

#manual-log-form {
    margin-top: 20px;
}

#manual-log-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    resize: vertical;
    min-height: 80px;
}

#manual-log-form button {
    margin-top: 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.log-item:hover .edit-log-btn {
    opacity: 1;
}

.edit-log-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.log-entry {
    background-color: var(--color-white);
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.log-entry p {
    margin: 0 0 10px 0;
}

.log-entry .timestamp {
    font-size: 0.85em;
    color: #666;
    text-align: right;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    color: #6e7f8a;
}

.timer-running {
    background-color: #f97316 !important; /* Tailwind orange-500 */
    animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .7;
  }
}

#edit-log-modal.hidden {
    display: none;
}

#edit-log-modal {
    transition: opacity 0.3s ease;
}
