/* ==================== Alapbeállítás ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #19aaf8, #0091ff, #19aaf8);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
}

/* ==================== Page container ==================== */
#page {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f91aa7, #1e1af9, #f91aa7);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ==================== Title ==================== */
#titlediv {
    text-align: center;
    margin-bottom: 20px;
}

#title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

#reklam {
    font-size: 13px;
    color: #ffcc00;
    margin-top: 5px;
    display: block;
}

/* ==================== Form ==================== */
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ==================== Labels ==================== */
label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin-bottom: 6px;
}

/* ==================== Input / Select / Textarea ==================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s ease;
    appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ffdd57;
    box-shadow: 0 0 10px rgba(255,221,87,0.5);
    background: rgba(255,255,255,0.15);
}

input:valid,
select:valid,
textarea:valid {
    border-color: #4ade80;
    background: rgba(74,222,128,0.15);
}

input:invalid:focus,
select:invalid:focus,
textarea:invalid:focus {
    border-color: #facc15;
    background: rgba(250,204,21,0.15);
}

/* ==================== Submit button ==================== */
input[type="submit"] {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #0d6efd;
    color: #fff;
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==================== Small text ==================== */
form > div > small {
    font-size: 13px;
    color: #ffea00;
    display: block;
    margin-top: 4px;
}

/* ==================== Images ==================== */
img {
    max-width: 110px;
    max-height: 30px;
}

/* ==================== Progress bar ==================== */
#myProgress {
    width: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    overflow: hidden;
}

#myBar {
    width: 0%;
    height: 20px;
    background-color: #04AA6D;
    text-align: center;
    line-height: 20px;
    color: #fff;
    transition: width 0.3s ease;
}

/* ==================== Links ==================== */
a {
    color: #00f0ff;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

/* ==================== Hidden elements ==================== */
.szhdk,
.szamhordozas_fiel,
div[id*="_div"] {
    display: none;
}

/* ==================== Checkbox ==================== */
#nyilatkozat {
    width: 20px;
    height: 20px;
}

/* ==================== Required fields ==================== */
input[required],
select[required],
textarea[required] {
    border: 1px solid rgba(255,255,255,0.4);
}

/* ==================== Responsive ==================== */
@media (max-width: 1080px) {
    #page {
        padding: 15px;
        max-width: 100%;
    }

    input, select, textarea, input[type="submit"], label {
        font-size: 15px;
    }

    #nyilatkozat {
        width: 20px;
        height: 20px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}