/* Image Editor Custom Styles */
.image-editor-container {
    max-width: 100%;
    margin: 0 auto;
}

.img-container {
    max-height: 450px;
    margin-bottom: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-container img {
    max-width: 100%;
}

.preview-container {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #f1f5f9;
}

.glass-modal .modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.25rem;
}

.glass-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-modal .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.crop-preview-circle {
    border-radius: 50% !important;
}

.editor-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.editor-controls btn {
    padding: 0.5rem 1rem;
}

/* Profile Pic Display Styling */
.profile-pic-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: #e2e8f0;
    margin-bottom: 10px;
    display: block;
}

.profile-pic-wrapper {
    position: relative;
    display: inline-block;
}

.profile-pic-wrapper .edit-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.profile-pic-wrapper .edit-overlay:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}
