/* Общие стили */
body {
    padding-top: 80px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

/* Стили для формы регистрации */
.register-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.register-container {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 40px 35px;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-logo i {
    font-size: 50px;
    color: white;
}

.register-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #444;
}

.form-control {
    height: 50px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.15);
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
}

.btn-register {
    background: #1e3a8a;
    border: none;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s;
    color: white;
}

.btn-register:hover {
    background: #1e3a8a !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.register-links {
    text-align: center;
    margin-top: 1.5rem;
}

.register-links a {
    color: #1e3a8a;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.register-links a:hover {
    color: #0d1b4d;
    text-decoration: underline;
}

.terms-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

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

.password-strength {
    margin-top: 5px;
}

.progress {
    height: 8px;
    margin-bottom: 5px;
}

.password-error {
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    color: #dc3545;
}
.password-match-message {
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}
.requirement {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .register-section {
        padding: 40px 15px;
    }

    .register-container {
        padding: 30px 25px;
    }

    .register-logo {
        width: 100px;
        height: 100px;
    }

    .register-logo i {
        font-size: 40px;
    }

    .register-title {
        font-size: 1.6rem;
    }

    .register-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .form-control {
        height: 46px;
        padding: 0.65rem 1rem;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    .register-container {
        padding: 25px 20px !important;
    }
}