/* Styles extracted from zapisy_db.php (presentation layer) */

body.container-center {
    max-width: 1080px;
}

.form-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 24px 26px;
    border-radius: 14px;
    box-shadow: 0 6px 26px rgba(15, 23, 42, .07);
}

label {
    font-weight: 600;
    font-size: .95rem;
    display: block;
    margin-bottom: 6px;
}

input[type=email],
input[type=text],
input[type=number] {
    width: 95%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: #4f46e5;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .25);
}

button:hover {
    transform: translateY(-2px);
}

.club-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 28px;
}

.club {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 16px 18px 18px;
    border-radius: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.club h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.club small {
    color: #555;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: .7rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.actions {
    margin-top: auto;
}

.note {
    background: #f1f5f9;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .85rem;
    line-height: 1.4;
}

/* Login columns specific */
.login-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 8px;
}

.login-col {
    flex: 1 1 320px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px 22px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
    min-width: 280px;
}

.login-form label {
    font-weight: 600;
    font-size: .85rem;
    margin-bottom: 8px;
}

.login-form input[type=email],
.login-form input[type=text] {
    margin-top: 4px;
}

.login-hint {
    font-size: .75rem;
    color: #475569;
    margin: 0 0 10px;
    line-height: 1.35;
}

.login-note {
    margin-top: 10px;
    font-size: .65rem;
    color: #64748b;
    line-height: 1.35;
}

.email-static {
    margin-bottom: 10px;
    font-size: .85rem;
}

.email-static .email-val {
    font-weight: 400;
}

.email-change {
    margin-left: 10px;
    font-size: .65rem;
    text-decoration: none;
    color: #2563eb;
}

.email-change:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .login-columns {
        flex-direction: column;
    }
}

/* Blocked club visual */
.club.blocked {
    background: #fff9db;
    border-color: #facc15;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, .25);
}

.club .block-msg {
    display: inline-block;
    margin-top: 4px;
    font-weight: 600;
    color: #92400e;
}

/* small utilities used inline previously */
.small-secondary {
    background: #334155;
}

.button-danger {
    background: #b91c1c;
}

/* Paid club visuals */
.club.paid .status-badge {
    background: #fbbf24; /* amber/gold */
    color: #1f2937; /* dark text for contrast */
}
.club.paid {
    border-color: #fbbf24;
    box-shadow: 0 4px 18px rgba(251, 191, 36, .08);
}
.club.paid .note {
    background: #fff7ed; /* soft warm background for occupancy info */
    border-left: 4px solid #fbbf24;
}
.payment-info {
    margin-top:8px;
    font-weight:700;
    color:#92400e;
}

/* End of zapisy_db.css */