/* ============================================================
   PROFILE EDITOR PANEL STYLES — J2ST.ICU VOID
   ============================================================ */

.profile-grid-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
}

.editor-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.editor-section {
    padding: 30px;
    border-radius: 28px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
}

.editor-title {
    font-size: 18px;
    font-weight: 850;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-edit-box {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.avatar-preview-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid #111;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: var(--transition-snappy);
}

.avatar-preview-wrapper:hover {
    transform: scale(1.05);
    border-color: #fff;
}

.avatar-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.avatar-preview-wrapper:hover .avatar-overlay {
    opacity: 1;
}

.avatar-info-box p {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.avatar-info-box span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.form-label {
    font-size: 11px;
    font-weight: 900;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--accent-border);
    border-radius: 18px;
    padding: 16px 20px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-snappy);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.banner-selector {
    width: 100%;
    height: 140px;
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-snappy);
}

.banner-selector:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.03);
}

.banner-selector span {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
}

.save-action-footer {
    position: sticky;
    bottom: 0;
    padding: 20px 0;
    margin-top: auto;
    background: linear-gradient(to top, var(--bg-void), transparent);
}

.save-btn {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 20px;
    border-radius: 22px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition-snappy);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.save-btn:hover {
    transform: translateY(-4px);
    background: #fdfdfd;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

/* PHONE PREVIEW (Sleek Version) */
.preview-panel {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
}

.phone {
    width: 100%;
    max-width: 320px;
    height: 640px;
    background: #000;
    border: 8px solid #1a1a1a;
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,1);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.phone-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phone-banner {
    height: 160px;
    background: linear-gradient(135deg, #222, #000);
    background-size: cover;
    background-position: center;
}

.phone-body {
    padding: 0 24px;
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.phone-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    object-fit: cover;
}

.phone-name {
    font-size: 22px;
    font-weight: 900;
    margin-top: 16px;
    letter-spacing: -0.5px;
}

.phone-bio {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .profile-grid-container { grid-template-columns: 1fr; }
    .preview-panel { display: none; }
}
