/* Стили для форм авторизации и регистрации */

.delba-registration-form,
.delba-login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.delba-form {
    margin-top: 1.5rem;
}

.delba-form-group {
    margin-bottom: 1.5rem;
}

.delba-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.delba-form-group input[type="email"],
.delba-form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.delba-form-group input[type="email"]:focus,
.delba-form-group input[type="password"]:focus {
    outline: none;
    border-color: #007cba;
}

.delba-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.delba-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.delba-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.delba-btn--primary {
    background-color: #007cba;
    color: white;
    width: 100%;
}

.delba-btn--primary:hover {
    background-color: #005a87;
}

.delba-btn--secondary {
    background-color: #6c757d;
    color: white;
}

.delba-btn--secondary:hover {
    background-color: #545b62;
}

.delba-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.delba-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.delba-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.delba-message--error ul {
    margin: 0;
    padding-left: 1.5rem;
}

.delba-registration-links,
.delba-login-links {
    margin-top: 1.5rem;
    text-align: center;
}

.delba-registration-links a,
.delba-login-links a {
    color: #007cba;
    text-decoration: none;
}

.delba-registration-links a:hover,
.delba-login-links a:hover {
    text-decoration: underline;
}

/* Стили для страницы профиля */
.page-profile .profile-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-info h2 {
    margin-top: 0;
    color: #333;
}

.profile-details p {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.profile-details p:last-child {
    border-bottom: none;
}

.profile-actions {
    text-align: center;
}

.delba-logout-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.delba-logout-section p {
    margin-bottom: 1rem;
    color: #333;
}

.delba-logout-form {
    display: inline-block;
}

/* Адаптивность */
@media (max-width: 768px) {
    .delba-registration-form,
    .delba-login-form {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .page-profile .profile-content {
        padding: 1rem;
    }
    
    .profile-info {
        padding: 1.5rem;
    }
}
