input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0 1.5rem;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

label {
    font-weight: bold;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    text-align: left;
    color: #f0f0f0;
}

.register-link {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #ccc;
}

.register-link a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}

.row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0 1.5rem;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

label {
    font-weight: bold;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    text-align: left;
    color: #f0f0f0;
}

.register-link {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #ccc;
}

.register-link a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Mobilbarát elrendezés */
@media (max-width: 768px) {
    html, body {
        overflow: auto !important;
        height: auto !important;
    }

    body {
        display: block !important;
    }

    .row {
        flex-direction: column;
    }

    .form-group {
        flex: 1 1 100%;
    }
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.code-inputs input {
    width: 40px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.code-inputs input:focus {
    border-color: #0D1B2A;
}


.beautiful-button {
    position: relative;
    display: inline-block;
    background: linear-gradient(to bottom, #0D1B2A, #324155);
    color: white;
    font-family: "Segoe UI", sans-serif;
    font-weight: bold;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    padding: 14px 28px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: button-shimmer 2s infinite;
    transition: all 0.3s ease-in-out;
}

.beautiful-button:hover {
    background: linear-gradient(to bottom, #1F2E3F, #46556B);
    animation: button-particles 1s ease-in-out infinite;
    transform: translateY(-2px);
}

.beautiful-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes button-shimmer {
    0% {
        background-position: left top;
    }

    100% {
        background-position: right bottom;
    }
}

@keyframes button-particles {
    0% {
        background-position: left top;
    }

    100% {
        background-position: right bottom;
    }
}
.password-container {
    position: relative;
}

.password-container input[type="password"],
.password-container input[type="text"] {
    padding-right: 30px;

}

.toggle-password{
    position: absolute;
    right: 8px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}
.toggle-password-again{
    position: absolute;
    right: 8px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

.password-container {
    position: relative;
}

.password-container input[type="password"] {
    padding-right: 40px; /* hogy ne lógjon rá a szem ikon */
}

.toggle-password,
.toggle-password-again {
    position: absolute;
    top: 58%;
    right: 7%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}