/* Reset i podstawowe style */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

.sc-kontener {
    position: relative;
    width: 100vw;
    min-height: 100vh;
}

/* ===== FORMULARZ - PEŁNOEKRANOWE TŁO ===== */
.sc-tlo {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column;
}

.sc-tlo-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}


.sc-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.sc-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}
.sc-logo img {
    max-width: 300px;
    width: 100%;
}

/* Wrapper z filmem i formularzem */
.sc-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    z-index: 2;
    position: relative;
    background-color: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    max-width: 1000px;
    width: 100%;
	text-align: center;
	align-items: center;
}
.sc-wrapper p{
	text-align: left;
}
/* Formularz */
.sc-formularz {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 280px;
}

.sc-formularz input {
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
}

.sc-formularz button {
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    background-color: #EFDF00;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sc-formularz button:hover {
    background-color: #d6c600;
}

/* ===== WYNIKI ===== */
#wynik-blok {
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;
}

.sc-blok {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.sc-blok img{
	width: 32px;
}
.sc-blok h2, .sc-wrapper h2 {
    margin-top: 0;
    color: #333;
    font-family: "NouvelR", Sans-serif;
    font-size: 2.5em;
    font-weight: 700;
	padding-bottom: 20px;
    position: relative;
}
.sc-blok h2:after, .sc-wrapper h2:after{
	content: "";
    width: 50px;
    height: 2px;
    position: absolute;
    top: auto;
    bottom: 0px;
    left: 0;
    background: var(--e-global-color-primary);
}

.sc-blok ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0 0;
}

.sc-blok li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.sc-blok li:last-child {
    border-bottom: none;
}
.sc-status-img img{
	width: 100%;
	border-radius: 25px !important;
}
/* Przyciski i informacje */
button[type="button"] {
    padding: 10px 20px;
    background: #ccc;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button[type="button"]:hover {
    background: #bbb;
}

.sc-error {
    color: red;
    font-weight: bold;
}

.sc-info {
    color: orange;
    font-weight: bold;
}
.sc-status-image {
    text-align: center;
    margin-top: 20px;
	padding-top: 15px;
	background: #fff;
    border-radius: 8px;
}

.sc-status-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.sc-statusy-wszystkie {
    margin-top: 30px;
}
.sc-status-kontener {
    background-color: #f5f5f5;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

.sc-status-kontener h3 {
    margin-top: 0;
    font-size: 1.3em;
    color: #222;
}

.sc-status-kontener p {
    font-size: 1em;
    color: #444;
    line-height: 1.6;
}



/* Bieżący status */
.sc-status-kontener.aktywny {
    border: 2px solid #EFDF00;
    background-color: #fffbe6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.02);
}

/* Ikonki TAK/NIE */
.sc-blok img {
    vertical-align: middle;
    height: 18px;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media screen and (max-width: 768px) {
    .sc-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .sc-video {
        width: 100%;
        max-height: 250px;
    }

    .sc-formularz {
        width: 100%;
    }

    .sc-logo img {
        max-width: 220px;
    }

    #wynik-blok {
        padding: 10px;
    }

    .sc-blok {
        padding: 15px;
    }
	
    .sc-status-kontener {
        margin: 15px 10px;
        padding: 15px;
    }

    .sc-status-kontener h3 {
        font-size: 1.2em;
    }

    .sc-status-kontener p {
        font-size: 0.95em;
    }
}
