:root {
    --primary: #DE7119;
    --secondary: #18B0B0;
    --light: #DEE3E2;
    --light-background: #f5faf9;
    --dark: #116979;
    --form-background: #FFFFFF;
    --active-green: #31de5f;
}

body {
    font-family: 'Rubik', sans-serif;
    background-color: var(--light-background);
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-container {
    background-color: var(--form-background);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

.login-form {
    text-align: center;
}

.logo {
    width: 100px;
    margin: 1rem auto;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    background: var(--primary);
    border-radius: 2px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--form-background);
    animation: section-title-run 5s infinite linear;
}

@keyframes section-title-run {
    0% { transform: translateX(-75px); }
    50% { transform: translateX(75px); }
    100% { transform: translateX(-75px); }
}

h2 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

label {
    display: block;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--dark);
    border-radius: 8px;
    background-color: var(--light-background);
    box-sizing: border-box;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.remember-me input[type="checkbox"] {
    margin-right: 0.5rem;
}

.forgot-password {
    display: block;
    margin: 1rem 0;
    color: var(--dark); /* "dark" szín beállítása */
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--primary);
}

.btn {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    transition: .5s;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.2rem; /* Növelt betűméret */
}

.btn-primary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
    background-color: var(--dark);
    border-color: black;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--dark) !important;
    background-color: var(--secondary);
}

.btn-secondary {
    color: #FFFFFF;
    background-color: var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--primary) !important;
    background-color: var(--secondary);
}

@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
        width: 100%;
    }
    
    .logo {
        margin: 0 auto 1rem;
    }
}