/* ==========================================================
   Patra Patri Plugin
   File: cards.css
   Purpose: Profile Cards, Message Box & Card Design
========================================================== */

/* ===========================
   Profile Grid
=========================== */

.pp-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(170px,1fr));

    gap:16px;

    perspective:900px;

}

/* ===========================
   Profile Card (3D look)
=========================== */

.pp-card{

    display:block;

    text-decoration:none;

    color:inherit;

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    box-shadow:
        0 2px 4px rgba(0,0,0,.06),
        0 10px 18px rgba(0,0,0,.10),
        0 22px 34px -14px rgba(0,0,0,.18);

    transform-style:preserve-3d;

    transition:transform .35s ease, box-shadow .35s ease;

}

.pp-card:hover{

    transform:translateY(-6px) rotateX(4deg) rotateY(-4deg) scale(1.02);

    box-shadow:
        0 4px 8px rgba(0,0,0,.08),
        0 16px 26px rgba(0,0,0,.14),
        0 34px 50px -16px rgba(0,0,0,.28);

}

/* ===========================
   Card Image
=========================== */

.pp-card img{

    width:100%;

    height:170px;

    object-fit:cover;

    display:block;

}

/* ===========================
   Card Content
=========================== */

.pp-card-content{

    padding:12px 14px;

}

.pp-card h3{

    font-size:14px;

    margin-bottom:6px;

    color:#222;

    font-weight:700;

}

.pp-card p{

    margin-bottom:3px;

    font-size:12px;

    color:#666;

    line-height:1.4;

}

/* ===========================
   Profile Information
=========================== */

.pp-profile-info{

    margin-top:15px;

}

.pp-profile-info span{

    display:block;

    margin-bottom:6px;

    color:#555;

    font-size:14px;

}

/* ===========================
   View Profile Button
=========================== */

.pp-card .pp-btn{

    width:100%;

    margin-top:15px;

}

/* ===========================
   Registration / Login Messages
=========================== */

.pp-message{

    padding:15px;

    margin-bottom:20px;

    border-radius:10px;

    font-size:15px;

    font-weight:600;

}

.pp-success{

    background:#d4edda;

    color:#155724;

    border:1px solid #c3e6cb;

}

.pp-error{

    background:#f8d7da;

    color:#721c24;

    border:1px solid #f5c6cb;

}

/* ===================================
   Patra Patri Theme Layout
=================================== */

.pp-module #secondary,
.pp-module .sidebar,
.pp-module .widget-area,
.pp-module aside,
.pp-module .recent-comments,
.pp-module .you-missed,
.pp-module .missed-posts{

    display:none !important;

}

.pp-module .content-area,
.pp-module .site-main,
.pp-module .primary-content,
.pp-module .main-content{

    width:100% !important;

    max-width:100% !important;

    flex:0 0 100% !important;

}

.pp-module article{

    width:100% !important;

}
./* ===================================
   Step 7 - Profile Photo
=================================== */

.pp-grid-2{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:50px;

    align-items:flex-start;

}

.pp-upload-left{

    width:100%;

}

.pp-upload-right{

    width:100%;

}

#pp-photo-preview{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    border:1px solid #eee;

    border-radius:12px;

    background:#fafafa;

    padding:20px;

    min-height:450px;

}

#preview-name{

    font-weight:600;

    margin-bottom:5px;

}

#preview-size{

    color:#777;

    margin-bottom:15px;

}
/* ===========================
   PAYMENT PAGE
=========================== */

.pp-payment-card{

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:12px;

    padding:25px;

    margin-top:25px;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

.pp-payment-card h4{

    margin-bottom:20px;

}

#pp-total-price{

    color:#d32f2f;

    font-size:24px;

    font-weight:700;

}

.pp-payment-card label{

    cursor:pointer;

    line-height:1.7;

}

/* ===================================
   Patra Patri Responsive Layout
=================================== */

.pp-container{

    width:100%;

    max-width:1400px;

    margin:30px auto;

    padding:0 20px;

    box-sizing:border-box;

}

.pp-dashboard{

    display:flex;

    gap:25px;

    align-items:flex-start;

}

.pp-dashboard-sidebar{

    flex:0 0 280px;

}

.pp-dashboard-content{

    flex:1;

    min-width:0;

}

/* Laptop */

@media (max-width:1200px){

.pp-container{

max-width:100%;

padding:0 18px;

}

}

/* Tablet */

@media (max-width:992px){

.pp-dashboard{

flex-direction:column;

}

.pp-dashboard-sidebar{

width:100%;

position:relative;

top:auto;

}

}

/* Mobile */

@media (max-width:576px){

.pp-container{

padding:0 12px;

}

}
/* Only Patra Patri Pages */

body.pp-module .site,
body.pp-module .site-content,
body.pp-module .content-area,
body.pp-module .site-main,
body.pp-module article{

    width:100% !important;
    max-width:100% !important;

}

body.pp-module .container,
body.pp-module .container-fluid{

    max-width:100% !important;
    width:100% !important;
    padding-left:20px !important;
    padding-right:20px !important;

}

body.pp-module .pp-container{

    max-width:1600px;
    width:100%;
    margin:30px auto;

}