﻿/* ===========================
   BUTTON SYTLES
   =========================== */
/* Base app button styles */
.btn-app,
.btn-lightgray,
.btn-yellow-white,
.btn-yellow-black,
.btn-darkgray,
.btn-red,
.btn-blue {
    display: inline-block;
    min-width: 250px;
    padding: 0.375rem 0.75rem;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: .5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    transition: transform .05s ease-in-out, box-shadow .15s ease;
    cursor: pointer;
    text-decoration: none;
}

    .btn-app:active,
    .btn-lightgray:active,
    .btn-yellow-white:active,
    .btn-yellow-black:active,
    .btn-darkgray:active,
    .btn-red:active,
    .btn-blue:active {
        transform: scale(.98);
    }

/* Light Gray Button */
.btn-lightgray {
    background: var(--brand-lightgray, #d5e1ed);
    color: var(--text-1);
}

    .btn-lightgray:hover {
        background: #c5d1dd;
    }

/* Yellow Action (white text) */
.btn-yellow-white {
    background: var(--brand-warning, #ffc107);
    color: var(--text-invert);
}

    .btn-yellow-white:hover {
        background: #e0a800;
    }

/* Yellow Action (black text) */
.btn-yellow-black {
    background: var(--brand-yellow);
    color: var(--text-1);
}

    .btn-yellow-black:hover {
        background: #e6b600;
    }

/* Dark Grey Button */
.btn-darkgray {
    background: var(--brand-gray, #5a6268); /* add fallback */
    color: var(--text-invert, #fff); /* add fallback */
}

    .btn-darkgray:hover {
        background: var(--brand-gray-hover, #4d5459); /* add fallback */
    }
/* Red Warning Button */
.btn-red {
    background: var(--brand-red, #dc3545);
    color: var(--text-invert);
}

    .btn-red:hover {
        background: #c82333;
    }

/* Light Blue Button */
.btn-blue {
    background: var(--brand-blue, dodgerblue);
    color: var(--text-invert);
}

    .btn-blue:hover {
        background: #176FA0;
    }

/* Compact variant for app buttons */
.btn-compact {
    min-width: auto !important; /* kill the 250px */
    padding: .25rem .5rem; /* smaller padding */
    font-size: .875rem; /* 14px-ish */
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-1);
    white-space: nowrap; /* keep short labels in one line */
}

/* Optional: extra small if you want them really tiny */
.btn-compact-xs {
    min-width: auto !important;
    padding: .15rem .4rem;
    font-size: .8125rem;
}
