﻿.profile-picture-dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-width: 400px;
}

    .profile-picture-dialog .profile-picture-container {
        position: relative;
        width: 280px;
        height: 280px;
        margin: 20px 0;
        overflow: hidden;
        cursor: grab;
        border-radius: 50%;
    }

        .profile-picture-dialog .profile-picture-container:active {
            cursor: grabbing;
        }

    .profile-picture-dialog .profile-picture-preview {
        position: absolute;
        user-select: none;
        -webkit-user-drag: none;
        pointer-events: none;
        transform-origin: center center;
    }

    .profile-picture-dialog .circular-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        border-radius: 50%;
        box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.85);
    }

    .profile-picture-dialog .zoom-controls {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 350px;
        padding: 10px 0;
    }

    .profile-picture-dialog .zoom-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: transparent;
        border: none;
        color: #666;
        font-size: 18px;
        cursor: pointer;
        padding: 0;
    }

        .profile-picture-dialog .zoom-btn:hover {
            color: var(--rz-primary);
        }

    .profile-picture-dialog .zoom-slider {
        flex: 1;
        height: 4px;
        -webkit-appearance: none;
        appearance: none;
        background: #e0e0e0;
        border-radius: 2px;
        outline: none;
    }

        .profile-picture-dialog .zoom-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--rz-primary, #1976d2);
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .profile-picture-dialog .zoom-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--rz-primary, #1976d2);
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

    .profile-picture-dialog .dialog-actions {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        width: 100%;
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #e8e8e8;
    }

    .profile-picture-dialog .btn-cancel {
        background: transparent;
        color: var(--rz-primary, #1976d2);
        border: none;
        padding: 8px 16px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
    }

        .profile-picture-dialog .btn-cancel:hover {
            text-decoration: underline;
        }

    .profile-picture-dialog .btn-save {
        background: var(--rz-primary, #1976d2);
        color: white;
        border: none;
        padding: 8px 24px;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
    }

        .profile-picture-dialog .btn-save:hover {
            background: var(--rz-primary-dark, #1565c0);
        }

    .profile-picture-dialog .file-upload-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 280px;
        height: 280px;
        border: 2px dashed #ccc;
        border-radius: 50%;
        cursor: pointer;
        margin: 20px 0;
    }

        .profile-picture-dialog .file-upload-area:hover {
            border-color: var(--rz-primary);
            background: rgba(25, 118, 210, 0.05);
        }

        .profile-picture-dialog .file-upload-area i {
            font-size: 48px;
            color: #999;
            margin-bottom: 10px;
        }

        .profile-picture-dialog .file-upload-area span {
            color: #666;
            font-size: 14px;
        }