body {
    background: linear-gradient(#5aaaff, #6f8cff);
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    width: 600px;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.url-bar {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.timer-box {
    background: #dbe7ff;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 20px;
}

#time-display {
    font-size: 48px;
    margin-bottom: 15px;
}

.time-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.disable-time-adjust {
    display: none;
}

.time-adjust button {
    border: none;
    background: #aebff6;
    padding: 4px 8px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    margin-top: 10px;
}

.time-adjust button:hover {
    background: #8ea7f8;
}


#start-btn {
    background: #7ea6ff;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

#pause-btn {
    background-color: #636b75;
    border: none;
    padding: 9px 18px;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: 0.2s ease-in-out;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Icon styling */
#pause-btn i {
    font-size: 20px;
}

/* Hover effect */
#pause-btn:hover {
    background-color: #50575f;
}

/* Click animation */
button:active {
    transform: scale(0.95);
}

.start-btn-running {
    background: #f0192f !important;
    color: #ffffff !important;
}

.pause-btn-running {  /* Show pause button when running */
    display: inline-flex !important;
}

.data-box h3 {
    margin-bottom: 5px;
}

.data-box p {
    margin-top: 0;
    opacity: 0.7;
}

#session, #history-info {
    margin-bottom: 8px;
}
/* Shared input/select styles */
input,
select {
    padding: 8px 12px;
    border: 1px solid #d0d7e0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    transition: 0.2s ease;
}

/* Hover + focus */
input:hover,
select:hover {
    border-color: #b5c2ff;
}

input:focus,
select:focus {
    outline: none;
    border-color: #7a8cff;
    box-shadow: 0 0 0 3px rgba(122, 140, 255, 0.3);
}

/* Make select arrow nice-looking */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 32px;
    width: 45%;
}

#delete-history-btn {
    background-color: #78808a;
    color: white;
    margin-left: 0px !important;
}

/* + button */
#add-project-btn {
    background: #7a8cff;
    color: white;
}

/* x button */
#delete-project-btn {
    background: #f33c3c;
    color: white;
}

#add-project-btn, #delete-project-btn, #delete-history-btn {
    padding: 8px 12px;
    margin-left: 6px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: 0.2s ease;
}

#add-project-btn:hover {
    background: #6c7aff;
}

#delete-project-btn:hover {
    background: #d42323;
}

#delete-history-btn:hover {
    background-color: #636b75;
}

#add-project-btn:active, #delete-project-btn:active, #delete-history-btn:activer {
    transform: scale(0.94);
}

.disable-delete-history-btn {
    display: none;
}

.disable-delete-project-btn {
    display: none;
}

.error-message {
    background: #ffe6e6;
    border-left: 4px solid #e60000;
    color: #b30000;
    padding: 10px 14px;
    margin: 12px 0 12px;
    border-radius: 4px;
    font-size: 14px;
    font-family: sans-serif;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
}