main {
    min-height: 0;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 80px;
}

.title-head {
    font-family: "DIN Pro Condensed", sans-serif;
    font-size: 54px;
    color: #333333;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 440px;
    gap: 12px;
}

.error-info {
    color: #ff0000;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}

.auth-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.auth-link a {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.login-form .auth-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 18px;
    box-sizing: border-box;
}

.login-form .auth-button {
    width: auto;
    min-width: 50%;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 5px 0;
}

.checkbox {
    width: 24px;
    height: 24px;
    margin-top: 0;
    cursor: pointer;
    border: 2px solid #333333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    flex-shrink: 0;
}

.checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #111;
    font-size: 16px;
    font-weight: bold;
}

.checkbox-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #111;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-link {
    color: #333333;
    text-decoration: none;
}

.checkbox-link:hover {
    text-decoration: underline;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 440px;
}

.profile-message {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #333333;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.profile-container .button {
    width: 50%;
    text-decoration: none;
    text-align: center;
    padding: 12px;
    font-size: 18px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .title-head {
        font-size: 42px;
    }

    .login-form,
    .profile-container {
        max-width: 90%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .login-form {
        gap: 15px;
    }

    .login-form .auth-input {
        font-size: 18px;
        padding: 12px 16px;
        width: 100%;
    }

    .login-form .auth-button,
    .profile-container .button {
        width: 100%;
        max-width: none;
    }

    .checkbox-container {
        padding-left: 0;
        width: 100%;
    }
}
