/* ============================================================
   Unified Action Button (.btn-unified)
   Light-green action button used across all pages.
   This file loads AFTER theme CSS so styles take priority.
   ============================================================ */

.btn-unified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    appearance: none;
    -webkit-appearance: none;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.5;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 1px 3px rgba(46, 125, 50, 0.08);
}

.btn-unified:hover,
.btn-unified:focus {
    background: #c8e6c9;
    border-color: #a5d6a7;
    color: #1b5e20;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
    text-decoration: none;
    outline: none;
}

.btn-unified:active {
    background: #a5d6a7;
    border-color: #81c784;
    box-shadow: 0 1px 2px rgba(46, 125, 50, 0.1);
}

.btn-unified:disabled,
.btn-unified.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

/* Spinner inside unified button */
.btn-unified .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    color: #2e7d32;
}
