/* =========================== */
/*  Daily Tracker Styles       */
/* =========================== */

/* Main Wrapper */
.routine {
    background-color: #fff;
    border-radius: var(--size-one);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    width: 100%;
    max-width: 600px;
}

/* Title */
.routine-title,
.routine-title-edit {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-grey);
    font-family: inherit;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Step block */
.step {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Checkbox */
.step-checkbox {
    margin-right: 8px;
    accent-color: var(--color-lavender);
}

/* Input fields */
.step-input,
.routine-title-edit {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--color-muted-grey);
    border-radius: var(--size-75);
    font-size: 0.95rem;
    background-color: #fff;
    font-family: inherit;
    outline: none;
}

.step-input::placeholder,
.routine-title-edit::placeholder {
    color: #999;
    opacity: 0.7;
}

/* Customization Section */
#customization {
    background-color: var(--base-color);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: var(--size-one);
    margin-top: var(--size-one);
}

/* Optional Routine Table */
#routine-table {
    border: 1px solid var(--color-grey);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.95rem;
    width: 100%;
}

#routine-table th {
    background-color: var(--base-color);
    color: var(--color-grey);
    font-weight: 600;
}

#routine-table td {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 10px;
}

/* Soft Delete Button */
.btn-soft-delete {
    background-color: var(--color-pink);
    border: 1px solid #f7bfc5;
    border-radius: 6px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 32px;
    height: 32px;
}

.btn-soft-delete:hover {
    background-color: #f7bfc5;
    border-color: #f7bfc5;
}

.delete-icon {
    width: 22px;
    height: 22px;
    display: block;
    margin: auto;
}
