/* Фон секции — как на login.php */
.register-section {
    background: linear-gradient(to bottom, #f5f7fa 0%, #f7e9c4 40%, #f3d9a1 100%);
    padding: 40px 0; /* было 60px — слишком много */
}

/* Заголовок — как на login.php */
.register-section h1 {
    font-size: 24px;
    font-weight: 700;
    color: #4a3b1f;
    text-align: center;
    margin-bottom: 20px;
}

/* Убираем старую register-card */
.register-card {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

/* OAuth-кнопки — как на login.php */
.oauth-btn {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    text-decoration: none;
}

.oauth-btn img,
.oauth-btn svg {
    height: 20px;
    width: 20px;
    margin-right: 8px;
}

/* Яндекс */
.btn-yandex {
    background-color: #ffcc00;
    color: #000;
    border: none;
}

.btn-yandex:hover {
    background-color: #e6b800;
}

/* Google */
.btn-google {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #444;
}

.btn-google:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
}

/* Мобильная оптимизация */
@media (max-width: 480px) {
    .oauth-btn {
        height: 42px;
        font-size: 14px;
    }

    .oauth-btn img,
    .oauth-btn svg {
        height: 18px;
        width: 18px;
    }
}
.crop-mask {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.crop-mask img {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top left;
    touch-action: none;
}

.dropzone-register {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    background: #fafafa;
    transition: 0.2s;
}

.dropzone-register.dragover {
    background: #e8ffe8;
    border-color: #28a745;
}

.new-preview img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
