/* ================================
   Styl: Abonamenty / Zafakturowani.biz
   ================================ */

:root {
    --primary: #007bff;
    --primary-light: #e6f0ff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gray: #f8f9fa;
    --dark: #343a40;
    --border-radius: 12px;
}

/* Layout główny */
body {
    background-color: var(--gray);
    color: var(--dark);
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Nagłówki */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Karty planów */
.card {
    border-radius: var(--border-radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #ddd;
    background: white;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Nagłówek planu */
.card-header {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Cennik */
.card-body h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem 0;
}

.card-body h2 small {
    font-size: 1rem;
    color: #777;
}

/* Lista funkcji */
.card-body ul {
    text-align: left;
    list-style: none;
    padding-left: 0;
}

.card-body ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.card-body ul li::before {
    content: "✔ ";
    color: var(--primary);
}

/* Przycisk kupna */
.btn-primary,
.btn-outline-primary {
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: scale(1.02);
}

.btn-outline-primary:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Dropdown */
.dropdown-menu {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Panel firmy */
.panel-abonament {
    border-left: 4px solid var(--primary);
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.panel-abonament .text-success {
    font-weight: 600;
}

.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Responsywność */
@media (max-width: 768px) {
    .card-body h2 {
        font-size: 1.5rem;
    }
    .card-header h3 {
        font-size: 1.1rem;
    }
}

/* Powiadomienia */
.alert {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    margin-top: 1rem;
}
