/* ===== RESET & BASE ===== */
* {margin:0;padding:0;box-sizing:border-box;}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background:#f4f6f8;
    color:#333;
    line-height:1.5;
    padding:15px;
}
h2 {
    text-align:center;
    margin-bottom:20px;
    font-weight:600;
}
.container{max-width:1200px;margin:0 auto;}
.section{margin-bottom:50px;}
.section h2{
    background:#e9ecef;
    padding:10px;
    border-radius:6px;
    margin-bottom:20px;
}

/* ===== GRID ===== */
.grid{
    display:grid;
    gap:20px;
}

/* Desktop fix 3 coloane */
@media (min-width:993px){
    .grid{grid-template-columns:repeat(3,1fr);}
}
/* Tablet fix 2 coloane */
@media (min-width:601px) and (max-width:992px){
    .grid{grid-template-columns:repeat(2,1fr);}
}
/* Mobil 1 coloana */
@media (max-width:600px){
    .grid{grid-template-columns:1fr;}
}

/* ===== CARD BAZA ===== */
.card{
    background:#fff;
    border-radius:8px;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
    padding:15px;
    text-align:center;
    transition:transform 0.2s ease,filter 0.3s ease;
}
.card img{
    max-width:100%;
    border-radius:6px;
    margin-bottom:10px;
    transition:filter 0.3s ease;
}
.card h3{font-size:1.1rem;margin-bottom:8px;}
.card p{margin-bottom:12px;font-size:0.95rem;color:#555;}
.card:hover{transform:translateY(-4px);}

/* ===== CARD STARE ===== */
.card-active  {border:3px solid #28a745;}
.card-future  {border:3px solid #007bff;}
.card-expired {border:3px solid #6c757d;filter:grayscale(100%);}
.card-expired img{filter:grayscale(100%);}

/* ===== CARD FANTOMA ===== */
.card-placeholder {
    background:transparent;
    box-shadow:none;
    border:none;
    pointer-events:none;
}

/* ===== BUTOANE ===== */
.btn{
    display:inline-block;
    padding:10px 18px;
    color:#fff;
    border-radius:4px;
    text-decoration:none;
    font-size:0.95rem;
    transition:background 0.2s ease;
}
.btn-active  { background:#28a745; }
.btn-active:hover { background:#1e7e34; }

.btn-future  { background:#007bff; }
.btn-future:hover { background:#0056b3; }

.card-expired .btn {
    background:#6c757d;
    pointer-events:none;
    cursor:default;
}
