/* RESET / BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: #f4f6f8;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.3;
}

/* Keep header spaced correctly */
header {
  z-index: 20;
}

/* MAIN SECTION (centered container) */
.feedback-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 30px 20px;
}

/* WHITE CARD (form + aside) */
.feedback-container {
  width: 90%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;

  /* 👇 Add this new line */
  direction: rtl;
}
.feedback-form,
.feedback-aside {
  direction: ltr; /* keep text direction normal */
}

/* EMPTY ASIDE (blank panel for desktop) */
.feedback-aside {
  background: linear-gradient(180deg, #f0f2f5 0%, #eef1f4 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.03);
  min-height: 420px;
}

/* FORM COLUMN */
.feedback-form {
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

/* LOGO */
.form-logo {
  width: 86px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}

/* TITLE */
.feedback-form h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  text-align: center;
}

/* LABELS + INPUTS */
.feedback-form label {
  align-self: stretch;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-top: 10px;
  margin-bottom: 6px;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  font-size: 15px;
  color: #0f172a;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.08s;
  
}

/* FOCUS EFFECT */
.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

/* REMEMBER BOX */
.remember-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

/* CUSTOM CHECKBOX */
.remember-box input[type="checkbox"] {
  width: 16px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #c4c9d6;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  position: relative;
}

.remember-box input[type="checkbox"]:checked {
  background: #2563eb;
  border-color: #2563eb;
}

.remember-box input[type="checkbox"]:checked::after {
  content: "✓";
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -62%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* SUBMIT BUTTON */
.submit-btn {
  width: 100%;
  max-width: 360px;
  padding: 12px 18px;
  margin-top: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #0f69ff 0%, #0853b5 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(13, 71, 161, 0.12);
  transition: transform 0.06s ease, box-shadow 0.12s ease, opacity 0.12s;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
  opacity: 0.95;
}

/* LINKS BELOW BUTTON */
.form-links {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #475569;
}

.form-links a {
  color: #0f69ff;
  text-decoration: none;
  font-weight: 600;
}

.form-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 960px) {
  .feedback-container {
    width: 95%;
    max-width: 820px;
  }

  .feedback-aside {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .feedback-container {
    grid-template-columns: 1fr;
    width: 95%;
    max-width: 620px;
  }

  .feedback-aside {
    display: none;
  }

  .feedback-form {
    padding: 28px 18px;
    max-width: 520px;
  }
}

/* FINAL POLISH */
.feedback-container,
.feedback-form input,
.feedback-form textarea,
.submit-btn {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
