/* PhotoCropperService — modal styles */

.pc-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1100;
    display: flex; align-items: center; justify-content: center;
    animation: pc-fade 0.15s ease-out;
}
@keyframes pc-fade { from { opacity: 0; } to { opacity: 1; } }

.pc-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 560px;
    max-width: 95vw;
    max-height: 95vh;
    display: flex; flex-direction: column;
    overflow: hidden;
    font-family: var(--font-family, system-ui, sans-serif);
}

.pc-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex; justify-content: space-between; align-items: center;
}
.pc-title { margin: 0; font-size: 15px; color: var(--primary, #33009A); font-weight: 600; }
.pc-close {
    background: transparent; border: 0; font-size: 24px;
    color: #94a3b8; cursor: pointer; line-height: 1; padding: 0 4px;
}
.pc-close:hover { color: #1e293b; }

.pc-body {
    padding: 16px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}

.pc-stage {
    position: relative;
    border-radius: 8px;
    background: #1e293b;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}
.pc-stage:active { cursor: grabbing; }

.pc-canvas { display: block; }

.pc-crop {
    position: absolute;
    border: 2px solid #fff;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    box-sizing: border-box;
}

.pc-controls { width: 100%; }

.pc-label {
    display: block;
    font-size: 11px; font-weight: 600;
    color: #64748b; text-transform: uppercase;
    letter-spacing: 0.04em; margin-bottom: 4px;
}

.pc-zoom-row {
    display: flex; align-items: center; gap: 10px;
}
.pc-zoom { flex: 1; }

.pc-actions {
    display: flex; gap: 8px; margin-top: 12px;
}

.pc-hint {
    font-size: 11px;
    color: #94a3b8;
    margin: 8px 0 0;
    text-align: center;
}

.pc-footer {
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex; justify-content: flex-end; gap: 8px;
}

.pc-btn {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.12s;
}
.pc-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.pc-btn.pc-primary {
    background: var(--primary, #33009A);
    color: #fff;
    border-color: var(--primary, #33009A);
}
.pc-btn.pc-primary:hover {
    background: #2a007a;
    border-color: #2a007a;
}
