/* ---------------------- Global ---------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
}

/* ---------------------- Card / Form ---------------------- */
.card {
    width: 360px;
    background: rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie zawartości */
    text-align: center;  /* Wyśrodkowanie tekstu */
}

h1 {
    margin-bottom: 20px;
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
}

input, select {
    background: #0f2a36;
    color: white;
}

/* Wyśrodkowanie przycisków */
button {
    margin-top: 20px;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

/* Kolory przycisków */
.btn-main {
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    color: #00121a;
}

.btn-outline {
    border: 2px solid #4facfe;
    color: #ccefff;
    background: none;
}

/* Linki */
a {
    display: block;
    margin-top: 14px;
    color: #aee6ff;
    text-decoration: none;
    font-size: 14px;
}

/* ---------------------- Panel / Sidebar ---------------------- */
.sidebar {
    width: 220px;
    background: #101f2d;
    padding: 20px;
}

.sidebar h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.sidebar a {
    display: block;
    padding: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #bfe9ff;
    border-radius: 8px;
}

.sidebar a:hover {
    background: #163347;
}

.main {
    flex: 1;
    padding: 30px;
}

.header {
    font-size: 26px;
    margin-bottom: 20px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    justify-items: center; /* Wyśrodkowanie kart */
}

.card-panel {
    background: #122636;
    padding: 18px;
    border-radius: 14px;
    text-align: center; /* Wyśrodkowanie tekstu w kartach */
}

.table {
    margin-top: 20px;
    background: #122636;
    border-radius: 12px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #1e3a4f;
    text-align: left;
}

th {
    background: #143044;
}

/* ---------------------- Plany / Subskrypcja ---------------------- */
.plan-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    width: 250px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plan-card h3 {
    margin-bottom: 10px;
}

.plan-price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
}

.features {
    text-align: left;
    margin-bottom: 20px;
}

.features li {
    margin-bottom: 10px;
}

.features li span {
    color: #43ff8d; /* ✔ */
    margin-right: 8px;
}

/* Kolory przycisków planów */
.plan-card button {
    margin-top: auto;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.plan-standard button {
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    color: #00121a;
}

.plan-premium button {
    background: linear-gradient(90deg, #ffb347, #ffcc33);
    color: #00121a;
}

.plan-pro button {
    background: linear-gradient(90deg, #ff00d4, #6a00f4);
    color: white;
}

/* ---------------------- Responsywność ---------------------- */
@media(max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .plan-container {
        flex-direction: column;
        align-items: center;
    }
}