
/* First Marketing Contact - Front */
.fm-contact-wrap{
  direction: rtl;
  font-family: Tajawal, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  width:100%;
}
.fm-card{
  background:#fff;
  border-radius:18px;
  box-shadow: 0 14px 45px rgba(15,23,42,.10);
  padding:22px 22px 18px;
  border:1px solid rgba(148,163,184,.22);
}
.fm-title{
  margin:0 0 14px;
  font-size:22px;
  font-weight:800;
  color:#0f172a;
}
.fm-alert{
  border-radius:14px;
  padding:12px 14px;
  margin:0 0 14px;
  font-weight:700;
  font-size:14px;
}
.fm-alert-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#065f46;}
.fm-alert-error{background:#fef2f2;border:1px solid #fecaca;color:#7f1d1d;}

.fm-header-info{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:stretch;
  margin:0 0 16px;
}
.fm-info-item{
  flex:1 1 160px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  background:#f8fafc;
  border:1px solid rgba(148,163,184,.25);
  border-radius:14px;
  padding:10px 12px;
  min-width:160px;
}
.fm-info-ico{
  width:38px;
  height:38px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  border:1px solid rgba(148,163,184,.22);
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
  flex: 0 0 38px;
}
.fm-info-text{flex:1 1 auto; min-width:0;}
.fm-info-wide{flex: 2 1 280px;}
.fm-info-label{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#64748b;
  margin-bottom:4px;
}
.fm-info-value{
  display:block;
  font-size:14px;
  font-weight:800;
  color:#0f172a;
  word-break: break-word;
}

.fm-form{margin-top:8px;}
.fm-row{display:flex; gap:12px; flex-wrap:wrap;}
.fm-col{flex:1 1 220px; min-width:220px;}
.fm-label{
  display:block;
  font-weight:800;
  color:#0f172a;
  margin:10px 0 6px;
  font-size:13px;
}
.fm-input{
  width:100%;
  border-radius:14px;
  border:0 !important;
  background:#ffffff;
  padding:12px 12px;
  outline:none !important;
  box-shadow: 0 10px 26px rgba(2,6,23,.08) !important;
  transition: transform .15s ease, box-shadow .15s ease;
  font-size:14px;
}
.fm-input:focus{
  box-shadow: 0 14px 34px rgba(2,6,23,.12) !important;
  transform: translateY(-1px);
}

.fm-input:focus{
  border-color: rgba(14,165,233,.75);
  box-shadow: 0 14px 28px rgba(14,165,233,.16);
  transform: translateY(-1px);
}
.fm-textarea{min-height:140px; resize:vertical;}

.fm-btn{
  width:100%;
  margin-top:14px;
  border:0;
  border-radius:14px;
  padding:13px 16px;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  color:#ffffff;
  background:#ef4444;
  box-shadow: 0 16px 44px rgba(239,68,68,.22);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.fm-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(2,6,23,.20);
  background:#dc2626;
}

.fm-note{
  margin:12px 0 0;
  color:#64748b;
  font-size:13px;
  line-height:1.8;
}

.fm-thread{margin-top:10px; display:flex; flex-direction:column; gap:10px;}
.fm-msg{
  border-radius:14px;
  border:1px solid rgba(148,163,184,.25);
  padding:12px 12px;
}
.fm-msg-admin{background:#f0f9ff;}
.fm-msg-client{background:#f8fafc;}
.fm-msg-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:6px;
  color:#334155;
  font-size:12px;
}
.fm-msg-body{color:#0f172a; font-size:14px; line-height:1.9;}


/* Captcha */
.fm-captcha,
.fm-row-captcha{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.fm-col-captcha-img{
  flex:0 0 auto;
}

.fm-captcha-img{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px 12px;
  border-radius:999px;
  background:#020617;
  box-shadow:0 8px 24px rgba(15,23,42,.45);
}

.fm-captcha-img img{
  display:block;
  height:26px;
  width:auto;
}

.fm-captcha-input,
.fm-col-captcha-input{
  flex:1 1 160px;
}

.fm-captcha-input .fm-input,
.fm-col-captcha-input .fm-input{
  height:42px;
}
/* English form layout - left to right */
.fm-contact-wrap.fm-contact-wrap-en {
    direction: ltr;
    text-align: left;
}

.fm-contact-wrap.fm-contact-wrap-en .fm-card {
    text-align: left;
}
