/* ================= PROFILE PAGE ================= */
.profile-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8f7;
  padding: 20px;
}

/* ================= PROFILE CARD ================= */
.profile-card {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

/* ================= TITLE ================= */
.profile-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 28px;
}

/* ================= FIELDS ================= */
.profile-field {
  margin-bottom: 18px;
}

.profile-field label {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.profile-value {
  background: #f3f4f6;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1rem;
  color: #111827;
  line-height: 1.5;
}

/* ================= ACTIONS ================= */
.profile-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* My Orders link */
.profile-link {
  color: #0f3d2e;
  font-size: 0.9rem;
  text-decoration: underline;
  margin-right: auto;
}

/* buttons */
.btn {
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Back to Store */
.back-btn {
  background: #0f3d2e;
  color: #ffffff;
}

.back-btn:hover {
  background: #0b3c27;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15,61,46,.25);
}

/* Logout */
.logout-btn {
  background: #ff4d4f;
  color: #ffffff;
}

.logout-btn:hover {
  background: #e6393b;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255,77,79,.25);
}
.settings-page{
max-width:920px;
margin:30px 0;
padding:20px 40px;
}

.settings-card{
background:#fff;
border-radius:14px;
border:1px solid #dbe3de;
margin-bottom:26px;
padding:22px;
box-shadow:0 3px 8px rgba(0,0,0,0.04);
}

.settings-card h2{
margin-bottom:16px;
font-size:22px;
}

.settings-row{
display:flex;
justify-content:space-between;
align-items:center;
padding:16px 6px;
border-top:1px solid #e5e7eb;
cursor:default;
transition:background .15s;
}

.settings-row:hover{
background:#f9fafb;
}

.settings-row:first-child{
border-top:none;
}

.settings-left{
display:flex;
gap:14px;
align-items:center;
}

.settings-left .icon{
font-size:18px;
color:#0f5132;
}
.icon{
width:26px;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
}

.settings-left strong{
display:block;
font-size:15px;
}

.settings-left p{
margin:2px 0 0;
font-size:14px;
color:#6b7280;
}

.arrow{
font-size:20px;
color:#9ca3af;
}

/* ================= MOBILE ================= */

@media(max-width:700px){

.profile-card {
  padding: 24px 20px;
  border-radius: 14px;
}

.profile-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.profile-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.profile-link {
  margin-right: 0;
  text-align: center;
  margin-bottom: 10px;
}

.btn {
  width: 100%;
  text-align: center;
  padding: 12px;
}

.settings-page{
padding:14px;
}

.settings-row{
flex-direction:row;
gap:10px;
}

}

@media(max-width:480px) {
  .profile-title {
    font-size: 1.5rem;
  }
  
  .profile-value {
    font-size: 0.95rem;
    padding: 12px;
  }
  
  .modal-box {
    width: 95%;
    padding: 20px;
  }
}

.modal-box{
background:#fff;
padding:30px;
width:420px;
border-radius:14px;
box-shadow:0 20px 50px rgba(0,0,0,0.25);
position:relative;
}

.modal-box h2{
margin-bottom:20px;
}

.modal-box input{
width:100%;
padding:12px;
border:1px solid #ccc;
border-radius:8px;
margin-bottom:14px;
}

.modal-btn{
width:100%;
padding:12px;
background:#0f5132;
color:#fff;
border:none;
border-radius:8px;
font-weight:600;
cursor:pointer;
}

.modal-close{
position:absolute;
top:10px;
right:15px;
font-size:22px;
cursor:pointer;
}
textarea{
width:100%;
padding:12px;
border-radius:8px;
border:1px solid #ccc;
margin-bottom:14px;
resize:none;
}
.payment-option,
.language-option{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px;
border:1px solid #ddd;
border-radius:8px;
margin-bottom:10px;
cursor:pointer;
}

.payment-option.selected,
.language-option.selected{
border:2px solid #0f5132;
}

.row{
display:flex;
gap:10px;
}

.row input{
flex:1;
}
.modal-sub{
font-weight:600;
margin-bottom:10px;
}

.card-option{
border:1px solid #ddd;
border-radius:10px;
padding:14px;
margin-bottom:12px;
cursor:pointer;
transition:0.2s;
}

.card-option:hover{
border-color:#0f5132;
}

.card-option.selected{
border:2px solid #0f5132;
background:#f7faf8;
}

.card-option label{
display:flex;
align-items:center;
gap:10px;
cursor:pointer;
}

.card-content{
display:flex;
align-items:center;
gap:10px;
font-size:16px;
}

.card-logo{
font-size:18px;
}

.row{
display:flex;
gap:10px;
margin-bottom:10px;
}

.row input{
flex:1;
}
/* Modal container */
.modal{
display:none;
align-items:center;
justify-content:center;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
z-index:9999;
}

/* Scrollable modal */
.modal-box{
background:#fff;
width:500px;
max-height:90vh;
overflow-y:auto;
border-radius:12px;
padding:25px;
position:relative;
}

/* Smooth scrollbar */
.modal-box::-webkit-scrollbar{
width:6px;
}

.modal-box::-webkit-scrollbar-thumb{
background:#0f5132;
border-radius:10px;
}
.twofa-feature{
margin-bottom:15px;
font-size:14px;
}

.otp-boxes{
display:flex;
gap:8px;
margin-bottom:15px;
}

.otp-boxes input{
width:40px;
height:45px;
text-align:center;
font-size:18px;
border:1px solid #ddd;
border-radius:6px;
}
/* ================= MOBILE ================= */

@media(max-width:768px){

.settings-page{
padding:15px;
}

.settings-card{
padding:18px;
}

.settings-card h2{
font-size:18px;
}

.settings-row{
padding:14px 4px;
}

.settings-left strong{
font-size:14px;
}

.settings-left p{
font-size:13px;
}

/* modal responsive */
.modal-box{
width:90%;
padding:20px;
}

/* card row inputs */
.row{
flex-direction:column;
gap:8px;
}

/* OTP boxes */
.otp-boxes{
justify-content:center;
}

.otp-boxes input{
width:38px;
height:42px;
}

/* footer mobile */
footer{
flex-direction:column;
gap:10px;
text-align:center;
}

}
.switch {
position: relative;
display: inline-block;
width: 46px;
height: 24px;
}

.switch input {
display:none;
}

.slider {
position:absolute;
cursor:pointer;
top:0;
left:0;
right:0;
bottom:0;
background:#ccc;
border-radius:24px;
transition:.3s;
}

.slider:before {
position:absolute;
content:"";
height:18px;
width:18px;
left:3px;
bottom:3px;
background:white;
border-radius:50%;
transition:.3s;
}

input:checked + .slider {
background:#3a7f5d;
}

input:checked + .slider:before {
transform:translateX(22px);
}
.form-group{
margin-top:20px;
display:flex;
flex-direction:column;
gap:8px;
}

.form-group label{
font-weight:600;
font-size:14px;
color:#333;
}

.form-select{
padding:10px 12px;
border-radius:8px;
border:1px solid #ccc;
font-size:14px;
width:100%;
margin-bottom:14px;
}

.modal-sub{
font-size:14px;
color:#666;
margin-bottom:10px;
}
.pickup-select{
width:100%;
padding:12px;
border-radius:8px;
border:1px solid #ddd;
font-size:15px;
background:#fff;
margin-top:10px;
margin-bottom:20px;
outline:none;
}

.pickup-select:focus{
border-color:#0f5132;
box-shadow:0 0 0 2px rgba(15,81,50,0.1);
}

.modal-box{
max-width:420px;
width:90%;
}

.modal-box select{
max-height:200px;
overflow:auto;
}