/* =========================
   PROFILE PAGE
========================= */

.profile{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#f7f7f7;

    padding:60px 20px;

}



/* =========================
   CARD
========================= */


.profile-card{

    width:450px;

    background:white;

    border-radius:20px;

    padding:45px;

    text-align:center;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

}



/* =========================
   AVATAR
========================= */


.profile-card img{

    width:130px;

    height:130px;

    object-fit:cover;

    border-radius:50%;

    margin-bottom:20px;

    border:4px solid #f0f0f0;

}



/* NAME */

.profile-card h2{

    font-size:28px;

    margin-bottom:8px;

}



/* EMAIL */


.profile-card p{

    color:#777;

    margin-bottom:30px;

}



/* =========================
   FORM
========================= */


.profile-form{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-top:25px;

    text-align:left;

}


.profile-form label{

    font-size:14px;

    font-weight:600;

    color:#222;

}



.profile-form input,
.profile-form textarea{


    width:100%;

    padding:14px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:15px;

    outline:none;

    transition:.3s;

    box-sizing:border-box;

}



.profile-form input:focus,
.profile-form textarea:focus{

    border-color:#b88a44;

    box-shadow:
    0 0 0 3px rgba(184,138,68,.15);

}



.profile-form textarea{

    resize:none;

}



/* =========================
   BUTTONS
========================= */


.profile-card button{

    width:100%;

    padding:15px;

    border:none;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}



/* SAVE */


#saveBtn{

    background:#111;

    color:white;

    margin-top:10px;

}



#saveBtn:hover{

    background:#b88a44;

}



/* LOGOUT */


#logoutBtn{

    margin-top:25px;

    background:#eee;

    color:#111;

}



#logoutBtn:hover{

    background:#ffdddd;

    color:#b00000;

}



/* =========================
   ORDERS
========================= */


.my-orders{

    margin-top:40px;

    padding-top:30px;

    border-top:1px solid #eee;

}



.my-orders h2{

    text-align:center;

    margin-bottom:20px;

}



/* ORDER BUTTON */


.view-orders-btn{

    display:block;

    text-align:center;

    padding:14px;

    background:#111;

    color:white;

    text-decoration:none;

    border-radius:10px;

    transition:.3s;

}



.view-orders-btn:hover{

    background:#b88a44;

}



/* =========================
   ORDER STATUS
========================= */


.status{

    font-weight:bold;

    padding:8px 15px;

    border-radius:20px;

    display:inline-block;

}



.Waiting{

    background:#fff3cd;

    color:#856404;

}



.Processing{

    background:#cfe2ff;

    color:#084298;

}



.Shipped{

    background:#d1ecf1;

    color:#055160;

}



.Delivered{

    background:#d1e7dd;

    color:#0f5132;

}



.Cancelled{

    background:#f8d7da;

    color:#842029;

}



/* =========================
   ORDER CARD
========================= */


.order-card{

    padding:20px;

    border-radius:12px;

    background:#fafafa;

    border:1px solid #eee;

    margin-bottom:15px;

}

.status{

padding:8px 15px;

border-radius:20px;

font-weight:bold;

display:inline-block;

}



.status.pending{

background:#fff3cd;

color:#856404;

}



.status.paid{

background:#d1e7dd;

color:#0f5132;

}



.status.processing{

background:#cfe2ff;

color:#084298;

}



.status.shipped{

background:#cff4fc;

color:#055160;

}



.status.delivered{

background:#d1e7dd;

color:#0f5132;

}



.status.cancelled{

background:#f8d7da;

color:#842029;

}

/* =========================
   RESPONSIVE
========================= */


@media(max-width:600px){


.profile-card{

    width:100%;

    padding:30px 20px;

}


}