/* integerByte Tracker — supplemental styles beyond Tailwind utilities */

* {
    scrollbar-width: thin;
    scrollbar-color: #FF8A75 #f3f4f6;
}

.ib-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    margin-bottom: 0.375rem;
}

.ib-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    background-color: #fff;
}

.ib-input:focus {
    outline: none;
    border-color: #FF5A45;
    box-shadow: 0 0 0 3px rgba(255, 90, 69, 0.15);
}

.ib-input-error {
    border-color: #dc2626 !important;
}

.ib-input-error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.ib-btn-primary {
    background-color: #1F2328;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    transition: background-color 200ms ease, box-shadow 200ms ease, transform 150ms ease;
}

.ib-btn-primary:hover {
    background-color: #FF5A45;
    box-shadow: 0 8px 16px -6px rgba(255, 90, 69, 0.45);
}

.ib-btn-primary:active {
    transform: scale(0.98);
}

.ib-btn-secondary {
    background-color: #fff;
    color: #1F2328;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: border-color 200ms ease, color 200ms ease;
}

.ib-btn-secondary:hover {
    border-color: #FF5A45;
    color: #FF5A45;
}

.ib-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(31, 35, 40, 0.55);
    padding: 1rem;
    animation: ib-fade-in 150ms ease;
}

.ib-modal.hidden {
    display: none;
}

.ib-modal-panel {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    width: 100%;
    max-width: 28rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    animation: ib-scale-in 180ms ease;
}

@keyframes ib-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ib-scale-in {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.ib-toast {
    min-width: 260px;
    max-width: 340px;
    padding: 0.875rem 1.125rem;
    border-radius: 0.875rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.3);
    animation: ib-slide-in 200ms ease;
}

.ib-toast.success { background-color: #1F2328; }
.ib-toast.error { background-color: #dc2626; }

@keyframes ib-slide-in {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

.ib-project-card {
    background: #fff;
    border: 1px solid #f0f0ef;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.ib-project-card:hover {
    box-shadow: 0 12px 28px -12px rgba(31, 35, 40, 0.18);
    border-color: #ffd6cd;
}

.ib-stat-card {
    background: #fff;
    border: 1px solid #f0f0ef;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.ib-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(31, 35, 40, 0.15);
}

.ib-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}
