/* AleKontakt - nowoczesny wyglad panelu doladowan */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 24px 16px 40px;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

/* Glowne opakowanie */
.wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Logo */
.header {
    width: 100%;
    height: 76px;
    margin: 0 auto 22px;
    background: #ffffff url("img/alekontakt_logo.png") no-repeat center center;
    background-size: 233px 56px;
    border-radius: 12px;
}

/* Biala karta z zawartoscia */
.content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 5px 24px rgba(29, 53, 87, 0.07);
    text-align: center;
}

/* Naglowki */
h1 {
    margin: 0 0 22px;
    color: #1769aa;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* Tekst i linki */
p {
    line-height: 1.6;
}

a {
    color: #1769aa;
    font-size: inherit;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    color: #0b477b;
    text-decoration: underline;
}

/* Tabele formularzy */
table {
    max-width: 100%;
    margin: 16px auto;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

td {
    padding: 9px 10px;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
}

/* Naglowki komorek */
.td01 {
    padding: 12px;
    background: #1769aa;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.td02 {
    padding: 12px;
    background: #f5f9fd;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

/* Pola formularzy */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
    max-width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2878bd;
    outline: 2px solid rgba(40, 120, 189, 0.15);
}

/* Przyciski */
input[type="submit"],
input[type="button"],
button {
    min-height: 42px;
    padding: 10px 24px;
    border: 0;
    border-radius: 7px;
    background: #1769aa;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background: #0b477b;
}

/* Komunikaty */
.alert {
    color: #111111;
    font-weight: 700;
}

.ramka {
    width: auto;
    max-width: 100%;
    margin: 16px auto;
    padding: 16px;
    border: 1px solid #dbe4ef;
    border-radius: 9px;
    background: #f8fafc;
    color: #111111;
    font-weight: normal;
    line-height: 1.6;
    text-align: center;
}

/* Stopka */
.footer {
    width: 100%;
    height: auto;
    margin: 18px auto 0;
    padding: 8px 4px;
    background: transparent;
    color: #333333;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/* Mniejsze ekrany */
@media screen and (max-width: 520px) {
    body {
        padding: 12px 10px 24px;
        font-size: 14px;
    }

    .header {
        height: 70px;
        margin-bottom: 14px;
        background-size: 210px auto;
    }

    .content {
        padding: 20px 12px;
        border-radius: 10px;
    }

    h1 {
        font-size: 21px;
    }

    table {
        width: 100%;
    }

    td,
    .td01,
    .td02 {
        padding: 8px 6px;
        font-size: 13px;
    }

    input[type="submit"],
    input[type="button"],
    button {
        max-width: 100%;
        padding: 10px 16px;
    }
}
