.register-link {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

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

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin: auto;
}

/* Блок форми входу */
.register-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.register-box h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Поля введення */
.input-box {
    margin-bottom: 15px;
    text-align: left;
}

.input-box label {
    font-size: 16px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
    border-color: #007bff;
}

/* Кнопка входу */
.btn {
    width: 100%;
    padding: 10px;
    background-color: var(--color-register-button);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--color-register-button-hover);
}

.required_star {
    color: red;
}

.flash.success {
    background-color: #d4edda;
    color: #155724;
}

.flash.danger {
    background-color: #f8d7da;
    color: #721c24;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 10px;
}
.hint {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #6c757d;
    text-align: left;
}

.hint.terms {
    margin-top: 12px;
    text-align: center;
}

.hint a {
    color: #007bff;
}

.flash.success {
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 10px;
}

.lead-text {
    margin: 0 0 15px 0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* a long address breaks inside instead of widening the box */
.address {
    overflow-wrap: anywhere;
}

/* "Continue with Google" above the form, by the rules of Google for the button: white, its logo, a grey border */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px;
    border: 1px solid #747775;
    border-radius: 4px;
    background-color: #fff;
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.google-btn:hover {
    background-color: #f2f2f2;
}

.google-logo {
    width: 20px;
    height: 20px;
    flex: none;
}

/* the line "or" between the button of Google and the form */
.or-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    color: #6b7280;
    font-size: 14px;
}

.or-line::before, .or-line::after {
    content: '';
    flex: 1;
    border-top: 1px solid #d7dee6;
}
