ofile · CSS
/* ==========================================================
   Patra Patri Plugin
   File: myprofile.css
   Purpose: "My Profile" full detail view (templates/myprofile.php)
========================================================== */
 
.pp-mp-page{
    background:#f7f7f9;
}
 
.pp-mp-page,
.pp-mp-page *,
.pp-mp-page *::before,
.pp-mp-page *::after{
    box-sizing:border-box;
}
 
/* Top Bar */
 
.pp-mp-topbar{
    background:#ffe4ec;
    border-bottom:1px solid #ffd0dd;
}
 
.pp-mp-topbar-inner{
    max-width:100%;
    margin:0 auto;
    padding:8px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
 
.pp-mp-brand{
    display:flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    color:#ff4b7d;
    font-weight:700;
    font-size:15px;
    line-height:1.2;
    flex-shrink:0;
}
 
.pp-mp-brand-mark{
    font-size:22px;
}
 
.pp-mp-brand small{
    display:block;
    color:#888;
    font-size:11px;
    font-weight:500;
}
 
.pp-mp-nav{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
 
.pp-mp-nav a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 14px;
    border-radius:8px;
    text-decoration:none;
    color:#555;
    font-size:13.5px;
    font-weight:600;
    transition:.2s;
}
 
.pp-mp-nav a:hover{
    background:#f5f5f5;
}
 
.pp-mp-nav a.pp-mp-nav-active{
    background:#fde8ee;
    color:#ff4b7d;
}
 
.pp-mp-user{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}
 
.pp-mp-user-avatar{
    width:30px;
    height:30px;
    border-radius:50%;
    overflow:hidden;
    background:#f5f5f5;
    flex-shrink:0;
}
 
.pp-mp-user-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
 
.pp-mp-user-text{
    display:flex;
    flex-direction:column;
    line-height:1.3;
}
 
.pp-mp-user-text small{
    color:#999;
    font-size:11px;
}
 
.pp-mp-user-text strong{
    font-size:13.5px;
    color:#222;
}
 
/* Container */
 
.pp-mp-container{
    max-width:1200px;
    margin:0 auto;
    padding:20px;
}
 
.pp-mp-back{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#555;
    text-decoration:none;
    font-size:13.5px;
    font-weight:600;
    margin-bottom:16px;
}
 
.pp-mp-back:hover{
    color:#ff4b7d;
}
 
/* Top Grid (Photo + Info) */
 
.pp-mp-top-grid{
    display:grid;
    grid-template-columns:380px 1fr;
    gap:20px;
    margin-bottom:20px;
}
 
.pp-mp-photo-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}
 
.pp-mp-photo-main{
    position:relative;
    width:100%;
    aspect-ratio:3/4;
    background:#f5f5f5;
}
 
.pp-mp-photo-main img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
 
.pp-mp-id-badge{
    position:absolute;
    top:14px;
    left:14px;
    background:#ff4b7d;
    color:#fff;
    font-size:12px;
    font-weight:700;
    padding:5px 12px;
    border-radius:20px;
    z-index:2;
}
 
.pp-mp-info-card{
    background:#fff;
    border-radius:16px;
    padding:24px;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
    display:flex;
    flex-direction:column;
}
 
.pp-mp-info-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
 
.pp-mp-info-top h2{
    margin:0 0 8px;
    font-size:24px;
    font-weight:700;
    color:#222;
    display:flex;
    align-items:center;
    gap:8px;
}
 
.pp-mp-verified{
    width:20px;
    height:20px;
    border-radius:50%;
    background:#16a34a;
    color:#fff;
    font-size:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
 
.pp-mp-meta-line{
    margin:0 0 4px;
    color:#666;
    font-size:14px;
}
 
.pp-mp-share-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:#fff;
    border:1px solid #ff4b7d;
    color:#ff4b7d;
    padding:9px 16px;
    border-radius:8px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
}
 
.pp-mp-share-btn:hover{
    background:#fde8ee;
}
 
.pp-mp-badges{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    background:#fdf0f3;
    border-radius:12px;
    padding:16px;
    margin-top:18px;
}
 
.pp-mp-badge{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:2px;
}
 
.pp-mp-badge-icon{
    font-size:18px;
    margin-bottom:2px;
}
 
.pp-mp-badge strong{
    font-size:13.5px;
    color:#222;
}
 
.pp-mp-badge small{
    font-size:11px;
    color:#888;
}
 
.pp-mp-expiry-note{
    margin-top:16px;
    padding:10px 16px;
    border-radius:10px;
    background:#e7f7ec;
    color:#16a34a;
    font-size:13px;
    font-weight:600;
}
 
.pp-mp-expiry-note-red{
    background:#fdecec;
    color:#dc2626;
}
 
.pp-mp-expiry-note a{
    color:inherit;
    text-decoration:underline;
    margin-left:6px;
}
 
/* Detail Grid (2 Columns) */
 
.pp-mp-detail-grid{
    display:flex;
    flex-direction:column;
    gap:20px;
}
 
.pp-mp-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    align-items:start;
}
 
.pp-mp-card{
    background:#fff;
    border-radius:16px;
    padding:22px 24px;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}
 
.pp-mp-card h4{
    margin:0 0 16px;
    font-size:15.5px;
    font-weight:700;
    color:#222;
    display:flex;
    align-items:center;
    gap:8px;
}
 
.pp-mp-text{
    font-size:14px;
    color:#555;
    line-height:1.7;
    margin:0;
}
 
.pp-mp-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
 
.pp-mp-list-row{
    display:flex;
    gap:8px;
    font-size:13.5px;
    line-height:1.5;
}
 
.pp-mp-list-label{
    color:#888;
    width:150px;
    flex-shrink:0;
}
 
.pp-mp-list-sep{
    color:#ccc;
}
 
.pp-mp-list-value{
    color:#222;
    font-weight:600;
}
 
/* Safety Note */
 
.pp-mp-safety-note{
    background:#fdf0f3;
    color:#c2185b;
    border-radius:12px;
    padding:14px 18px;
    font-size:13px;
    font-weight:600;
    margin-top:10px;
    text-align:center;
}
 
/* Sidebar active-link class (reused) */
 
a.pp-menu-active{
    background:#ff4b7d;
    color:#fff;
}
 
/* Responsive */
 
@media(max-width:992px){
 
    .pp-mp-top-grid{
        grid-template-columns:280px 1fr;
    }
 
}
 
@media(max-width:768px){
 
    .pp-mp-topbar-inner{
        flex-wrap:wrap;
    }
 
    .pp-mp-nav{
        order:3;
        width:100%;
        justify-content:center;
        border-top:1px solid #f0f0f0;
        padding-top:10px;
    }
 
    .pp-mp-top-grid{
        grid-template-columns:1fr;
    }
 
    .pp-mp-photo-main{
        aspect-ratio:4/3;
    }
 
    .pp-mp-row{
        grid-template-columns:1fr;
    }
 
    .pp-mp-badges{
        grid-template-columns:repeat(2,1fr);
    }
 
    .pp-mp-info-top{
        flex-direction:column;
    }
 
    .pp-mp-share-btn{
        width:100%;
        justify-content:center;
    }
 
}
 
@media(max-width:480px){
 
    .pp-mp-container{
        padding:14px;
    }
 
    .pp-mp-card{
        padding:16px;
    }
 
    .pp-mp-info-card{
        padding:18px;
    }
 
    .pp-mp-list-row{
        flex-direction:column;
        gap:2px;
    }
 
    .pp-mp-list-label{
        width:auto;
        font-size:11.5px;
        text-transform:uppercase;
        font-weight:600;
    }
 
    .pp-mp-list-sep{
        display:none;
    }
 
    .pp-mp-info-top h2{
        font-size:20px;
    }
 
}
 
/* ===================================
   Hide Theme Footer on Plugin Pages
   (Dashboard / My Profile / Profile / Login / Register / Publish)
   Does NOT affect the rest of the site (news articles, About Us, etc.)
=================================== */

.pp-matrimony-page footer.custom-footer,
.pp-matrimony-page .missed-section{
    display:none !important;
}

/* ===================================
   Force True Full Width on Plugin Pages
   (Newsup theme uses Bootstrap columns
   directly in markup, not get_sidebar())
=================================== */

.pp-matrimony-page aside.col-md-4{
    display:none !important;
}

.pp-matrimony-page .col-md-8{
    flex:0 0 100% !important;
    max-width:100% !important;
    width:100% !important;
}

.pp-matrimony-page .mg-breadcrumb-section{
    display:none !important;
}

/* ===================================
   Custom Footer (My Profile Page)
=================================== */

.pp-mp-footer{
    background:#0f1b2d;
    color:#c9d2de;
    margin-top:20px;
    padding:16px 0 0;
}

.pp-mp-footer-inner{
    max-width:100%;
    margin:0 auto;
    padding:0 30px;
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:20px;
}

.pp-mp-footer-col h5{
    color:#fff;
    font-size:13px;
    margin:0 0 8px;
    font-weight:700;
}

.pp-mp-footer-col a,
.pp-mp-footer-col span{
    display:block;
    color:#9aa7b8;
    text-decoration:none;
    font-size:12px;
    margin-bottom:5px;
}

.pp-mp-footer-col a:hover{
    color:#ff8aa8;
}

.pp-mp-footer-logo{
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-weight:700;
    font-size:15px;
    margin-bottom:6px;
}

.pp-mp-footer-logo-img{
    max-height:52px;
    max-width:220px;
    width:auto;
    height:auto;
    display:block;
}

.pp-mp-footer-logo small{
    display:block;
    color:#9aa7b8;
    font-size:10px;
    font-weight:500;
}

.pp-mp-footer-brand p{
    font-size:12px;
    color:#9aa7b8;
    line-height:1.5;
    margin:0;
}

.pp-mp-footer-bottom{
    margin-top:14px;
    padding:10px 20px;
    text-align:center;
    font-size:11.5px;
    color:#7c8798;
    border-top:1px solid rgba(255,255,255,.08);
}

/* ===================================
   Layout / Spacing Polish
=================================== */

.pp-mp-top-grid{
    align-items:stretch;
}

.pp-mp-photo-card,
.pp-mp-info-card{
    height:100%;
}

.pp-mp-info-card{
    justify-content:flex-start;
}

.pp-mp-card{
    margin-bottom:0;
}

.pp-mp-container{
    padding-top:24px;
    padding-bottom:10px;
}

.pp-mp-badges{
    row-gap:18px;
}

/* Responsive footer */

@media(max-width:768px){

    .pp-mp-footer-inner{
        grid-template-columns:1fr 1fr;
        gap:26px 20px;
    }

}

@media(max-width:480px){

    .pp-mp-footer-inner{
        grid-template-columns:1fr;
    }

    .pp-mp-footer{
        padding:24px 0 0;
    }

}
