.cp-alert{max-width:680px;margin:10px auto;padding:10px 12px;border-radius:8px;font-size:14px}
.cp-ok{background:#ecfff3;border:1px solid #b7f0c7;color:#0f7a2e}
.cp-err{background:#fff3f3;border:1px solid #f0b7b7;color:#b00020}
.cp-container{max-width:960px;margin:20px auto;padding:0 16px}

/* Social / Actions spacing tweaks */
.cm-actions { margin: 12px 0 10px; }
.cm-socials { margin: 14px 0 8px; }

/* Top bar */
.cm-topbar {
    position: unset!important;
    background: unset!important;
    border-bottom: 0!important;
}
.cm-topbar-inner {
    margin: 20px auto 0!important;
    height: 100px!important;
}
.cm-logo img {
    max-height: 100px!important;
}

/* Avatar Cropper Styles */
.cp-avatar-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 10px 0 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
}
.cp-avatar-preview {
    text-align: center;
}
.cp-avatar-preview img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}
.cp-avatar-actions {
    flex: 1;
}
.cp-avatar-actions .button {
    margin-right: 8px;
}
#avatar-crop-container {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    max-width: 500px;
}
#avatar-crop-container img {
    max-width: 100%;
    max-height: 400px;
    display: block;
}

/* Cover styles */
.cover-preview {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}
.cover-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 120px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.7;
    font-size: 14px;
}