body { font-family: Arial, sans-serif; direction: rtl; }
a { color: #0b5; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 900px; margin: 30px auto; padding: 0; }
.card { border: 1px solid #ddd; border-radius: 12px; padding: 16px; margin: 12px 0; }
.header { display:flex; align-items:center; justify-content:space-between; margin-bottom: 16px; }
.nav a { margin-left: 12px; }

/* ===== Profile page styling (Breeze without Tailwind) ===== */
.profile-page h2{
  margin:0 0 6px;
  font-size:20px;
}
.profile-page p.help{
  margin:0 0 14px;
  opacity:.7;
  line-height:1.5;
}

.profile-card{
  padding:22px;
}

.profile-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
}

@media (min-width: 900px){
  .profile-grid{
    grid-template-columns: 1fr 1fr;
  }
  .profile-card.wide{
    grid-column: 1 / -1;
  }
}

.profile-card .section-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.profile-card .badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  background:#f4f4f4;
  border:1px solid #e6e6e6;
}

/* Make Breeze forms look normal */
.profile-page form{
  margin:0;
}

.profile-page label{
  display:block;
  margin:0 0 6px;
  font-size:13px;
  opacity:.85;
}

.profile-page input[type="text"],
.profile-page input[type="email"],
.profile-page input[type="password"]{
  width:100%;
  box-sizing:border-box;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid #e5e5e5;
  background:#fff;
  outline:none;
  font-size:14px;
}

.profile-page input[type="text"]:focus,
.profile-page input[type="email"]:focus,
.profile-page input[type="password"]:focus{
  border-color:#bdbdbd;
}

.profile-page .actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}

/* Buttons inside Breeze partials are plain <button> */
.profile-page button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid #e5e5e5;
  background:#111;
  color:#fff;
  cursor:pointer;
  text-decoration:none;
  font-size:14px;
}

.profile-page button:hover{ opacity:.92; }

.profile-page button[type="button"]{
  background:#fff;
  color:#111;
}

.profile-page .danger{
  border:1px solid #f2c0c0;
  background:#fff5f5;
}

.profile-page .danger button{
  background:#b42318;
  border-color:#b42318;
}

/* Tame weird margins from Breeze */
.profile-page .max-w-xl,
.profile-page .max-w-7xl,
.profile-page .space-y-6,
.profile-page .py-12,
.profile-page .p-4,
.profile-page .sm\:p-8,
.profile-page .shadow,
.profile-page .sm\:rounded-lg{
  all: unset;
}

/* but keep them as block containers */
.profile-page .max-w-xl,
.profile-page .max-w-7xl{
  display:block;
  width:100%;
}

/* Small helper text in Breeze */
.profile-page .text-sm,
.profile-page .text-gray-600,
.profile-page .text-gray-500{
  font-size:13px;
  opacity:.7;
}


.profile-page .help,
.profile-page p,
.profile-page h2 {
  text-align: right;
}

.profile-page form > div {
  margin-bottom: 12px;
}

.profile-page input {
  max-width: 420px;
}

.profile-page button {
  border-radius: 12px;
}




/* ===== Fix Breeze forms without Tailwind ===== */
form > div { margin-bottom: 14px; }
label { display:block; margin-bottom:6px; font-weight:600; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #0b5;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  box-sizing: border-box;
}
a.underline { text-decoration: underline; }
.flex { display:flex; gap:12px; align-items:center; }
.justify-end { justify-content:flex-end; }
.mt-4 { margin-top: 14px; }
.mt-2 { margin-top: 8px; }
.w-full { width:100%; }
.block { display:block; }

.btn-ghost{
  background: transparent !important;
  color: #111 !important;
  border: 1px solid #ddd !important;
}

.btn-active{
  background:#0b5;
  color:#fff;
  border-color:#0b5;
}
.btn-danger{
  background:#d33;
  color:#fff;
  border:1px solid #d33;
}