/* Registration Section */
.registration-section {
    background-color: #f0f0f0;
    min-height: calc(100vh - 121px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.registration-container {
    border-radius: 12px;
    padding: 0 40px;
    width: 100%;
    height: 100%;
    max-width: 322px;
    text-align: center;
}

/* Title */
.registration-title {
    font-size: 19px;
    font-weight: bold;
    color: #666;
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}

/* Form Groups */
.form-group {
    margin-bottom: 22px;
}

.form-password-group {
    margin-bottom: 5px;
}

/* Form Inputs - Более компактные и менее закругленные */
.form-input {
    width: 100%;
    padding: 8px 15px;
    border: 0 solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background-color: white;
    transition: all 0.3s ease;
    outline: none;
    height: 28px;
}

.form-input:focus {
    border-color: #009dff;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.form-input::placeholder {
    color: #cacaca;
    font-weight: 400;
    text-align: center;
    font-size: 19px;
}

/* Terms Agreement */
.terms-agreement {
    margin: 40px 0 20px 0;
    font-size: 20px;
}

.terms-agreement p {
    font-size: 18px;
    color: #9e9e9e;
    line-height: 1.1;
}

.terms-link {
    font-size: 18px;
    color: #009dff;
    text-decoration: none;
}

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

/* Form Buttons */
.form-buttons {
    margin-top: 25px;
}

.btn-login {
    width: 100%;
    padding: 4px 0;
    background-color: #009dff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 19px;
    line-height: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.btn-login:hover {
    background-color: #009dff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.login-link {
    display: block;
    color: #009dff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #009dff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-container {
        margin: 20px;
        padding: 25px 20px;
        max-width: 320px;
    }

    .registration-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .form-input {
        padding: 7px 12px;
        font-size: 13px;
        height: 32px;
    }

    .date-inputs {
        height: 32px;
    }

    .date-input {
        padding: 6px 4px;
        font-size: 13px;
    }

    .terms-agreement {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .registration-container {
        margin: 15px;
        padding: 20px 15px;
    }

    .date-inputs {
        height: 30px;
    }

    .date-input {
        padding: 5px 3px;
        font-size: 12px;
    }
}

/* Стили для отображения ошибок */
.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.form-input.is-invalid {
    border-color: #dc3545;
}

/* Стили для чекбокса согласия с условиями */
.terms-agreement input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

.terms-agreement label {
    display: inline;
    color: #9e9e9e;
}

/* Стили для выпадающего меню профиля */
.dropdown-menu {
    min-width: 10rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #333;
}

.forgot-password {
    margin-top: 10px;
    margin-bottom: 20px;
}
