/* ==========================================================
   Patra Patri Plugin
   File: login.css
   Purpose: Login page (templates/login.php)
========================================================== */

.pp-auth-page{
    background:#fdf3f6;
    min-height:70vh;
}

.pp-auth-page,
.pp-auth-page *,
.pp-auth-page *::before,
.pp-auth-page *::after{
    box-sizing:border-box;
}

/* ===================================
   Wrapper / Centering
=================================== */

.pp-auth-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:50px 15px;
    perspective:1000px;
}

/* ===================================
   Card
=================================== */

.pp-auth-card{
    width:100%;
    max-width:480px;
    background:#fff;
    border-radius:22px;
    padding:48px 40px;
    box-shadow:
        0 2px 4px rgba(0,0,0,.05),
        0 14px 24px rgba(255,75,125,.10),
        0 34px 54px -18px rgba(255,75,125,.28);
    text-align:center;
    transform-style:preserve-3d;
    transition:transform .35s ease, box-shadow .35s ease;
}

.pp-auth-card:hover{
    transform:translateY(-4px) rotateX(2deg) rotateY(-2deg);
    box-shadow:
        0 4px 8px rgba(0,0,0,.06),
        0 20px 34px rgba(255,75,125,.14),
        0 44px 64px -18px rgba(255,75,125,.34);
}

.pp-auth-icon{
    width:64px;
    height:64px;
    margin:0 auto 16px;
    border-radius:50%;
    background:linear-gradient(135deg,#ff4b7d,#ff8a5b);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    box-shadow:0 8px 20px rgba(255,75,125,.35);
}

.pp-auth-card h2{
    margin:0 0 6px;
    font-size:24px;
    font-weight:800;
    color:#1e1e2e;
}

.pp-auth-sub{
    margin:0 0 24px;
    font-size:13.5px;
    color:#888;
}

/* ===================================
   Alert
=================================== */

.pp-auth-alert{
    padding:11px 16px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
    margin-bottom:20px;
    text-align:left;
}

.pp-auth-alert-error{
    background:#fdecec;
    color:#dc2626;
}

.pp-auth-alert-success{
    background:#e7f7ec;
    color:#16a34a;
}

/* ===================================
   Form
=================================== */

.pp-auth-form{
    text-align:left;
}

.pp-auth-field{
    margin-bottom:18px;
}

.pp-auth-field label{
    display:block;
    font-size:12.5px;
    font-weight:700;
    color:#444;
    margin-bottom:7px;
}

.pp-auth-input-wrap{
    position:relative;
    display:flex;
    align-items:center;
}

.pp-auth-input-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    width:16px;
    height:16px;
    color:#ff4b7d;
    pointer-events:none;
    display:flex;
    align-items:center;
    justify-content:center;
}

.pp-auth-input-icon svg{
    width:100%;
    height:100%;
}

.pp-auth-input-wrap input{
    width:100%;
    padding:12px 14px 12px 40px;
    border:1px solid #ffd7e2;
    border-radius:10px;
    font-size:14px;
    color:#222;
    background:#fff5f8;
    transition:.2s ease;
}

.pp-auth-input-wrap input:focus{
    outline:none;
    border-color:#ff4b7d;
    background:#fff;
    box-shadow:0 0 0 3px rgba(255,75,125,.12);
}

.pp-auth-input-wrap input::placeholder{
    color:#c9a5ae;
}

/* ===================================
   Submit Button
=================================== */

.pp-auth-submit{
    width:100%;
    padding:13px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg,#ff4b7d,#ff8a5b);
    color:#fff;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(255,75,125,.3);
    transition:transform .2s ease, box-shadow .2s ease;
    margin-top:6px;
}

.pp-auth-submit:hover{
    background:linear-gradient(135deg,#e03d6c,#ff7a4a);
    box-shadow:0 14px 26px rgba(255,75,125,.4);
}

/* ===================================
   Switch Link
=================================== */

.pp-auth-switch{
    margin:22px 0 0;
    font-size:13.5px;
    color:#666;
    text-align:center;
}

.pp-auth-switch a{
    color:#ff4b7d;
    font-weight:700;
    text-decoration:none;
}

.pp-auth-switch a:hover{
    text-decoration:underline;
}

/* ===================================
   Responsive
=================================== */

@media(max-width:480px){

    .pp-auth-wrap{
        padding:30px 12px;
    }

    .pp-auth-card{
        padding:30px 22px;
        border-radius:16px;
    }

    .pp-auth-card h2{
        font-size:21px;
    }

}

/* ===================================
   Forgot Password Link
=================================== */

.pp-auth-forgot-link{
    text-align:right;
    margin:6px 0 0;
}

.pp-auth-forgot-link a{
    font-size:12.5px;
    color:#ff4b7d;
    font-weight:600;
    text-decoration:none;
}

.pp-auth-forgot-link a:hover{
    text-decoration:underline;
}
