/* Template Presets Selector */
.hurryt-template-presets {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
}

.hurryt-template-presets-header h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.hurryt-template-presets-header .description {
    margin: 0 0 12px;
    color: #666;
    font-size: 12px;
}

.hurryt-template-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.hurryt-template-preset-item {
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 10px 8px 8px;
    background: #fff;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hurryt-template-preset-item:hover {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.hurryt-template-preset-item.is-active {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px #0073aa;
    background: #f0f7fc;
}

.hurryt-template-preset-preview {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.hurryt-template-preset-name {
    font-size: 11px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mini Preview inside preset cards */
.hurryt-mini-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hurryt-mini-preview--inline .hurryt-mini-block {
    display: inline-flex;
    flex-direction: row;
    gap: 2px;
    align-items: baseline;
}

.hurryt-mini-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 5px;
    min-width: 28px;
}

.hurryt-mini-digit {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.hurryt-mini-label {
    font-size: 8px;
    text-transform: uppercase;
    line-height: 1.4;
}

.hurryt-mini-sep {
    font-size: 14px;
    font-weight: 700;
    opacity: 0.6;
    margin: 0 1px;
    align-self: center;
    margin-bottom: 8px;
}


/* Timer Style Selector */
.hurryt-timer-style-selector {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
}

.hurryt-timer-style-header h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.hurryt-timer-style-header .description {
    margin: 0 0 12px;
    color: #666;
    font-size: 12px;
}

.hurryt-timer-style-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hurryt-timer-style-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px 8px;
    background: #fff;
    min-width: 70px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hurryt-timer-style-option:hover {
    border-color: #0073aa;
}

.hurryt-timer-style-option.is-active {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    background: #f0f7fc;
}

.hurryt-timer-style-option .hurryt-timer-style-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.hurryt-timer-style-icon {
    width: 44px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.hurryt-timer-style-option.is-active .hurryt-timer-style-icon {
    color: #0073aa;
}

.hurryt-timer-style-icon svg {
    width: 100%;
    height: 100%;
}

.hurryt-timer-style-name {
    font-size: 10px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.hurryt-timer-style-settings {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #e2e4e7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hurryt-timer-style-settings.hidden {
    display: none;
}
