/* ==============================
   MastiGuru Profile – UI Styles
   Google-style personal info UI
   ============================== */

.mg-profile-card {
    max-width: 720px;
    margin: 32px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    overflow: hidden;
}

.mg-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.mg-row span {
    color: #5f6368;
}

.mg-row strong {
    font-weight: 500;
}

.mg-row:hover {
    background: #f8f9fa;
}

.mg-readonly {
    cursor: not-allowed;
    background: #fafafa;
}

/* ==============================
   MODAL
   ============================== */

.mg-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.mg-modal-box {
    width: 460px;
    max-width: calc(100% - 32px);
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow:
        0 24px 38px rgba(0,0,0,.14),
        0 9px 46px rgba(0,0,0,.12);
}

#mg-modal-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a73e8;
    margin-bottom: 20px;
}

/* ==============================
   FORM
   ============================== */

.mg-field {
    margin-bottom: 16px;
}

.mg-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #5f6368;
}

.mg-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    font-size: 14px;
}

.mg-actions {
    text-align: right;
}

.mg-actions button {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
}

/* ==============================
   AVATAR EDITOR
   ============================== */

.mg-avatar-editor {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mg-avatar-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f1f3f4;
    overflow: hidden;
}

.mg-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
