body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
        padding: 0; 
        color: #333;
    }

header {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

header img {
    height: 50px;
}

nav a, nav span {
    color: #333;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: #ff6f61;
}

main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

h1, h2 {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #4ca1af, #c4e0e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}

section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section p, section ul {
    font-size: 16px;
    line-height: 1.6;
}

section ul {
    list-style: disc;
    padding-left: 20px;
}

a.button {
    display: inline-block;
    background: linear-gradient(135deg, #4ca1af, #c4e0e5);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: box-shadow 0.3s, transform 0.3s;
}

a.button:hover {
    box-shadow: 0 8px 20px rgba(76, 161, 175, 0.4);
    transform: translateY(-4px);
}

footer {
    background: #4ca1af;
    padding: 20px 30px;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-icons i {
    margin: 0 10px;
    font-size: 20px;
    transition: transform 0.3s, color 0.3s;
    color: #fff;
}

footer .social-icons i:hover {
    transform: scale(1.3);
    color: #ffd700;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    nav a, nav span {
        margin-left: 10px;
        font-size: 14px;
    }

    section {
    padding: 20px;
    }
}

@media (max-width: 768px) {
    .form-container,
    .login-box,
    .admin-panel {
        padding: 15px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        font-size: 1rem;
        padding: 8px;
    }

    table {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .form-container,
    .login-box,
    .admin-panel {
        padding: 10px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        font-size: 0.95rem;
        padding: 6px;
    }

    table {
        font-size: 0.85rem;
    }

    .button {
        font-size: 0.95rem;
        padding: 8px 12px;
    }
}

@media (max-width: 768px) {
    .card,
    .container,
    .content {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    header nav li {
        margin: 0;
    }
}
.faq-table {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-table h2 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: #333;
}

.faq-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.faq-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ddd;
}

.faq-row {
    cursor: pointer;
    background-color: #fff;
}

.faq-row:hover {
    background-color: #f0f4ff;
}

.faq-toggle {
    text-align: right;
    color: #007BFF;
    font-weight: bold;
    width: 120px;
}

.faq-answer-row {
    display: none;
    background-color: #fefefe;
}

.faq-answer {
    padding: 1rem;
    font-size: 0.95rem;
    color: #444;
}

.faq-answer-row {
    display: none;
}

/* Style dla motywu i czcionki, które będą się dynamicznie włączać */
body.theme-light {
  background-color: #fefefe !important;
  color: #222 !important;
}

body.theme-dark {
  background-color: #121212 !important;
  color: #eee !important;
}

body.font-large {
  font-size: 1.25rem !important;
}

body.font-normal {
  font-size: 1rem !important;
}