.video-title {
    color: var(--brand-primary);
    font-weight: 600;
}

.video-container {
    position: relative;
    width: 100%; /* Wideo zajmuje całą szerokość dostępnej przestrzeni */
    max-width: 900px; /* Ograniczenie, aby nie było za szerokie */
    margin: auto; /* Centrowanie */
    padding-top: 20px;
    z-index: 10; /* Zapewnia, że iframe jest nad gradientem */
    pointer-events: auto; /* Umożliwia kliknięcia */

}

.video-container iframe {
    width: 100%;
    height: 450px; /* Wysokość dostosowana do szerokości */
    max-height: 60vh; /* Uniknięcie nadmiernej wysokości */
    border-radius: 10px; /* Zaokrąglone rogi (opcjonalnie) */
}

.auth-one-bg{
    background-image: none !important;
}

.auth-one-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(15, 91, 40, 0.12) 1.8px, transparent 2px);
    background-size: 22px 22px;
}



/* === Prawy panel (formularz) === */
.auth-container {
    background-color: var(--brand-light);
    color: var(--brand-text-dark);
}

.auth-form label {
    color: var(--brand-text-dark);
    font-weight: 500;
}

/* Pola formularza */
.form-control,
.form-select {
    border: 1px solid #d5d9e0;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.2rem rgba(17, 102, 45, 0.25);
}

/* Checkbox i radio */
.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* === Przycisk: zielony (brandowy) === */
.btn-success,
.btn-brand-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-text-light) !important;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-success:hover,
.btn-brand-primary:hover {
    background-color: var(--brand-primary-hover) !important;
    transform: translateY(-1px);
}

/* === Linki (zielone akcenty) === */
.text-primary,
.text-primary:hover {
    color: var(--brand-primary) !important;
}

@media (max-width: 991px) { /* Dla ekranów mniejszych niż 992px (np. telefony) */
    .order-first-md {
        order: -1; /* Zmienia kolejność, formularz idzie na górę */
    }
}

/* === ALERT DWUKOLOROWY W BARWACH MARKI === */
.alert-primary {
    border: 1px solid #9acc8f !important; /* lekko ciemniejszy odcień */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0; /* reset Bootstrapa */
}

/* --- GÓRNA CZĘŚĆ: jasnozielone tło (pastelowe) --- */
.alert-primary .alert-body {
    background-color: #b7e0af !important; /* jasny, pastelowy zielony */
    color: #122738; /* ciemny tekst dla kontrastu */
    padding: 1rem 1.25rem;
}

.alert-primary .alert-heading {
    color: #0f5b28 !important; /* głęboki ciemnozielony dla tytułu */
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.alert-primary .alert-body p {
    color: #122738; /* ciemny tekst, spójny z headingiem */
    margin-bottom: 0;
}

.alert-primary .alert-body a {
    color: #0f5b28 !important;
    text-decoration: underline;
    font-weight: 600;
}
.alert-primary .alert-body a:hover {
    color: #08491d !important; /* ciemniejszy odcień przy hoverze */
    text-decoration: none;
}

/* --- DOLNA CZĘŚĆ: ciemny, kontrastowy zielony --- */
.alert-primary .alert-content {
    background-color: #0f5b28 !important; /* Twoja brandowa ciemna zieleń */
    color: rgba(255, 255, 255, 0.9) !important; /* lekko złagodzona biel */
    padding: 0.75rem 1.1rem; /* trochę ciaśniej */
    font-size: 0.87rem; /* mniejsza, bardziej elegancka czcionka */
    line-height: 1.4; /* ciaśniejszy odstęp między liniami */
    letter-spacing: 0.2px; /* odrobina „powietrza” */
}

/* --- Ikona po lewej stronie --- */
.alert-primary i {
    color: #0f5b28 !important; /* dopasowany do ciemnozielonego tonu */
    font-size: 1.2rem;
}

/* --- Przycisk zamykania --- */
.alert-primary .btn-close {
    filter: invert(0.4) brightness(1.5);
    opacity: 0.75;
}
.alert-primary .btn-close:hover {
    opacity: 1;
}
