/* Általános beállítások */
body {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    padding: 0;
    /* Eltávolítja a paddinget */
    margin: 0;
    /* Eltávolítja a margót */
    background-color: #f9f9f9;
    background-image: url('almaasztali.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Mobil nézet */
@media only screen and (max-width: 768px) {
    body {
        background-image: url('almamobil.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
}


/* Formok stílusa */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff82;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* Cím stílusa */
h1 {
    color: #007bff;
    font-size: 2em;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Form mezők kiemelése (form.php-hoz) */
.highlight-input {
    border: 2px solid #000000;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    font-size: 1.1em;
    padding: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

.highlight-input:focus {
    border-color: #0056b3;
    box-shadow: 0px 0px 10px rgba(0, 86, 179, 0.5);
}

/* Számított eredmények kiemelése */
.highlight-result {
    background-color: #e9f7fe;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px;
    border: 2px solid #009f3a;
    box-shadow: 0px 0px 5px rgba(0, 255, 76, 0.5);
}

/* Gombok stílusa */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Teljes szélesség */
    max-width: 100%;
    /* Max szélesség */
    height: 70px;
    /* Egységes magasság */
    padding: 0;
    /* Padding eltávolítása */
    font-size: 1.5em;
    text-decoration: none;
    text-align: center;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px !important;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px !important;
    /* Új box-shadow */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    margin-bottom: 15px;
    /* Távolság egymástól */
}

/* Különböző színű gombok */
.button.gmail {
    background-color: #dc3545;
    /* Piros */
}

.button.gmail:hover {
    background-color: #b02a37;
}

.button.exit {
    background-color: #28a745;
    /* Zöld */
}

.button.exit:hover {
    background-color: #218838;
}

.button {
    background-color: #007bff;
    /* Kék */
}

.button:hover {
    background-color: #0056b3;
}

/* Gombokra vonatkozó hover és nyomott effektus */
.button:hover {
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(2px);
}

/* Ikonok és szöveg központozása */
.button i {
    margin-right: 10px;
    line-height: 1;
    /* Egységes ikonmagasság */
}

/* Mobilbarát dizájn */
@media (max-width: 767px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    /* Mobilon a gombok szélességének és magasságának egységesítése */
    .button {
        width: 100%;
        /* Teljes szélesség mobilon */
        max-width: 100%;
        /* Győződjünk meg róla, hogy nem lép túl */
        height: 60px;
        /* Egységes magasság mobilon */
        line-height: normal;
        /* Középre igazított tartalom */
    }
}

/* Checkbox (toggle) stílusa */
.checkbox-wrapper-3 input[type="checkbox"] {
    visibility: hidden !important;
    display: none !important;
}

.checkbox-wrapper-3 .toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-3 .toggle:before {
    content: "";
    position: relative;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 14px;
    display: block;
    background: #9A9999;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.checkbox-wrapper-3 .toggle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(154, 153, 153, 0.5);
    transition: all 0.2s ease;
}

.checkbox-wrapper-3 .toggle span:before {
    content: "";
    position: absolute;
    display: block;
    margin: -18px;
    width: 56px;
    height: 56px;
    background: rgba(79, 46, 220, 0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
}

.checkbox-wrapper-3 input[type="checkbox"]:checked+.toggle:before {
    background: #947ADA;
}

.checkbox-wrapper-3 input[type="checkbox"]:checked+.toggle span {
    background: #4F2EDC;
    transform: translateX(20px);
    transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
    box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2);
}

.checkbox-wrapper-3 input[type="checkbox"]:checked+.toggle span:before {
    transform: scale(1);
    opacity: 0;
    transition: all 0.4s ease;
}