/* =======================================================
   Aspiring Author Webinar Registration – Fitabo Style Edition
   File: aawr-fitabo-style.css
======================================================= */

/* Wrapper */
body .aawr-form-wrapper {
  max-width: 650px;
  margin: 50px auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5),
              0 20px 60px rgba(0,0,0,0.45),
              0 30px 80px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body .aawr-form-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.55),
              0 25px 70px rgba(0,0,0,0.5),
              0 35px 90px rgba(0,0,0,0.45);
}

/* Heading */
body .aawr-form-wrapper h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 12px;
}

/* Field Groups */
body .aawr-field-group {
  margin-bottom: 20px;
}
body .aawr-field-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 15px;
}

/* Inputs & Textareas */
body .aawr-field-group input[type="text"],
body .aawr-field-group input[type="email"],
body .aawr-field-group input[type="tel"],
body .aawr-field-group textarea,
body .aawr-field-group select {
  width: 100%;
  padding: 12px;
  border-radius: 10px !important;
  border: 1px solid #ccc;
  outline: none;
  font-size: 15px;
  background: #fafafa;
  transition: all 0.3s ease;
}
body .aawr-field-group input:focus,
body .aawr-field-group textarea:focus,
body .aawr-field-group select:focus {
  border-color: #000;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  background: #fff;
}

/* Format Options (if any) */
body .aawr-format-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}
body .aawr-format-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  background: #fafafa;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
body .aawr-format-options label:hover {
  border-color: #000;
  background: #fff;
}
body .aawr-format-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: pointer;
}

/* Submit Button */
body .aawr-submit-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
body .aawr-submit-btn:hover {
  background: linear-gradient(135deg, #222, #000);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* Message Styles */
body #aawr-form-message {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}
body .aawr-success {
  background: #e6f4ea;
  color: #1e4620;
  border: 1px solid #a8e6a2;
}
body .aawr-error {
  background: #fbeaea;
  color: #8a1f11;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  body .aawr-form-wrapper {
    padding: 25px 20px;
  }
  body .aawr-form-wrapper h2 {
    font-size: 24px;
  }
}

/* SweetAlert2 (optional) */
.swal2-title {
  font-family: 'Courgette', cursive !important;
}
.swal2-confirm {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  padding: 10px 24px;
}
.swal2-confirm:hover {
  background: linear-gradient(135deg, #222, #000);
}

/* ================= SweetAlert2 Custom Overrides ================= */

/* Success popup heading */
.swal2-popup h2.swal2-title {
    font-weight: bold !important;   /* bold heading */
    font-size: 22px !important;     /* slightly bigger for heading look */
    text-transform: none !important; /* normal font, not uppercase */
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Success confirm button */
.swal2-popup .swal2-confirm {
    background-color: #28a745 !important; /* solid green */
    color: #ffffff !important;            /* white bold text */
    font-weight: bold !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;          /* remove shadow */
}

/* Remove hover effect on button */
.swal2-popup .swal2-confirm:hover,
.swal2-popup .swal2-confirm:focus {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

/* Error confirm button (red) */
.swal2-popup .swal2-icon-error + .swal2-actions .swal2-confirm {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

/* Remove hover effect on error button */
.swal2-popup .swal2-icon-error + .swal2-actions .swal2-confirm:hover,
.swal2-popup .swal2-icon-error + .swal2-actions .swal2-confirm:focus {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

