/*
** ==========================================
**   Moshina – Contact Us Widget Styles v1.0
** ==========================================
*/

.moshina-contact-us-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
  direction: rtl;
  font-family: inherit;
  box-sizing: border-box;
}

.moshina-contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.moshina-contact-main-title {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 12px;
}

.moshina-contact-subtitle {
  font-size: 16px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.moshina-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .moshina-contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ── Info Column ── */
.moshina-contact-info-col {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.moshina-contact-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.moshina-contact-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.moshina-contact-image-wrapper:hover .moshina-contact-image {
  transform: scale(1.05);
}

.moshina-contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.moshina-contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.moshina-contact-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.moshina-contact-icon {
  width: 44px;
  height: 44px;
  background: #f0fdf4;
  color: #16a34a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.moshina-contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.moshina-contact-detail-text strong {
  font-size: 15px;
  color: #1e293b;
  font-weight: 700;
}

.moshina-contact-detail-text a {
  color: #361601;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-block;
  align-self: flex-start;
}

.moshina-contact-detail-text a:hover {
  color: #84a24c;
}

.moshina-contact-map-link {
  font-size: 13px;
  margin-top: 5px;
  background: #f0fdf4;
  color: #16a34a !important;
  padding: 4px 10px;
  border-radius: 6px;
  width: auto;
  border: 1px solid #bbf7d0;
}

.moshina-contact-map-link:hover {
  background: #dcfce7;
}

/* ── Social Media Section ── */
.moshina-contact-socials-wrapper {
  padding-top: 25px;
  border-top: 1px solid #cbd5e1;
}

.moshina-contact-socials-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 15px;
}

.moshina-contact-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.moshina-contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #475569;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.moshina-contact-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

/* Brands Colors */
.moshina-contact-social-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.moshina-contact-social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #e6683c;
}

.moshina-contact-social-btn.snapchat:hover {
  background: #fffc00;
  border-color: #fffc00;
  color: #000000;
}

.moshina-contact-social-btn.tiktok:hover {
  background: #010101;
  border-color: #010101;
}

.moshina-contact-social-btn.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.moshina-contact-social-btn.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.moshina-social-emoji {
  font-size: 16px;
}

/* ── Contact Form Column ── */
.moshina-contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.moshina-contact-form-title {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 25px;
  border-right: 4px solid #361601;
  padding-right: 12px;
}

.moshina-contact-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.moshina-contact-form-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.moshina-contact-form-label span.required {
  color: #ef4444;
  margin-right: 3px;
}

.moshina-contact-form-label span.optional {
  color: #94a3b8;
  font-size: 12px;
  font-weight: normal;
}

.moshina-contact-form-input,
.moshina-contact-form-textarea {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  padding: 0 16px;
  font-size: 14px;
  color: #1e293b;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.2s;
  outline: none;
}

.moshina-contact-form-textarea {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

.moshina-contact-form-input:focus,
.moshina-contact-form-textarea:focus {
  border-color: #361601;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(146, 177, 86, 0.15);
}

/* GPS Input Group styles */
.moshina-contact-location-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.moshina-contact-gps-input {
  direction: ltr;
  text-align: left;
}

.moshina-contact-gps-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  border-radius: 8px;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.moshina-contact-gps-share-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.moshina-contact-gps-share-btn:disabled {
  background: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.moshina-contact-gps-status {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* Submit Button */
.moshina-contact-form-submit-btn {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: none;
  background: #361601;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(146, 177, 86, 0.3);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.moshina-contact-form-submit-btn:hover {
  background: #84a24c;
  box-shadow: 0 6px 18px rgba(146, 177, 86, 0.4);
}

.moshina-contact-form-submit-btn:active {
  transform: scale(0.98);
}

.moshina-contact-form-submit-btn:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.moshina-contact-form-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: moshina-contact-spin 0.8s linear infinite;
  display: none;
}

@keyframes moshina-contact-spin {
  to { transform: rotate(360deg); }
}

.moshina-contact-form-submit-btn.loading .moshina-contact-form-spinner {
  display: inline-block;
}

/* AJAX Response Message Alert */
.moshina-contact-form-response-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
}

.moshina-contact-form-response-msg.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.moshina-contact-form-response-msg.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
