/* ============================================================
   GLOBAL PAGE STYLE
============================================================ */

body {
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
}

/* ============================================================
   INPUTS
============================================================ */

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 0.9rem;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

/* ============================================================
   BUTTONS
============================================================ */

.btn-primary {
    padding: 0.9rem 2rem;
    border-radius: 1.5rem;
    background: #0f172a;
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 0.9rem 2rem;
    border-radius: 1.5rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* ============================================================
   TABS
============================================================ */

.tab-active {
    border-bottom: 4px solid #059669;
    color: #059669;
    font-weight: 900;
}

.tab-inactive {
    color: #64748b;
    transition: color 0.2s;
}

.tab-inactive:hover {
    color: #334155;
}

/* ============================================================
   GLASS CARD
============================================================ */

.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.75rem;
    padding: 2rem;
    transition: box-shadow 0.2s, background-color 0.2s;
}

.glass-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ============================================================
   LIST CARDS (SAMICE)
============================================================ */

.breeding-list-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.breeding-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ============================================================
   MODAL
============================================================ */

#breeding-full-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#breeding-full-modal.hidden {
    display: none;
}

#breeding-full-modal-content {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 2.5rem;
    padding: 3rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1, h2, h3 {
    font-weight: 800;
    color: #0f172a;
}

section p {
    margin-bottom: 0.25rem;
}

/* ============================================================
   TIMELINE COLORS
============================================================ */

.timeline-dot-pairing {
    background: #0ea5e9;
}

.timeline-dot-egg {
    background: #fbbf24;
}

.timeline-dot-result {
    background: #10b981;
}

.timeline-dot-failed {
    background: #ef4444;
}

/* ============================================================
   BADGES
============================================================ */

.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-green {
    background: #d1fae5;
    color: #065f46;
}

.badge-yellow {
    background: #fef9c3;
    color: #854d0e;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-red {
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================================
   DASHBOARD — PEŁNE MRUGANIE TŁA KAFELKA
============================================================ */

.blink-yellow-bg {
    animation: blinkYellowBg 1.4s infinite ease-in-out;
}

@keyframes blinkYellowBg {
    0%   { background-color: rgba(250, 204, 21, 0.20); }
    50%  { background-color: rgba(250, 204, 21, 0.55); }
    100% { background-color: rgba(250, 204, 21, 0.20); }
}

.blink-red-bg {
    animation: blinkRedBg 1.2s infinite ease-in-out;
}

@keyframes blinkRedBg {
    0%   { background-color: rgba(239, 68, 68, 0.20); }
    50%  { background-color: rgba(239, 68, 68, 0.55); }
    100% { background-color: rgba(239, 68, 68, 0.20); }
}

.blink-blue-bg {
    animation: blinkBlueBg 1.4s infinite ease-in-out;
}

@keyframes blinkBlueBg {
    0%   { background-color: rgba(59, 130, 246, 0.20); }
    50%  { background-color: rgba(59, 130, 246, 0.55); }
    100% { background-color: rgba(59, 130, 246, 0.20); }
}
