/* ============================================================
   ROUTE 133 AUTO — COUPON WIDGET (bottom-left slide-up)
   ============================================================ */

#r133-coupon-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 16, 40, 0.22), 0 2px 8px rgba(0, 16, 40, 0.10);
  overflow: hidden;
  animation: r133-slide-up 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  border-top: 4px solid #d40012;
}

@keyframes r133-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

#r133-coupon-widget.r133-cp-hiding {
  animation: r133-slide-down 0.22s ease-in both;
}

@keyframes r133-slide-down {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(20px); }
}

/* Header */
.r133-cp-header {
  background: linear-gradient(135deg, #001428 0%, #002850 100%);
  padding: 16px 16px 14px;
  position: relative;
}

.r133-cp-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  transition: color 0.15s;
}
.r133-cp-close:hover { color: #ffffff; }

.r133-cp-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 6px;
}

.r133-cp-headline {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.r133-cp-headline .r133-cp-amount {
  color: #F5A623;
}

.r133-cp-subhead {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  line-height: 1.45;
}

/* Body */
.r133-cp-body {
  padding: 16px;
}

.r133-cp-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.r133-cp-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1.5px solid #d0d5dd;
  border-radius: 8px;
  font-size: 14px;
  color: #001428;
  outline: none;
  transition: border-color 0.15s;
  background: #f8f9fb;
}
.r133-cp-input:focus {
  border-color: #d40012;
  background: #ffffff;
}
.r133-cp-input::placeholder { color: #9ea8b8; }

.r133-cp-submit {
  width: 100%;
  padding: 11px 12px;
  background: linear-gradient(135deg, #d40012 0%, #ff1a2e 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.r133-cp-submit:hover:not(:disabled) { opacity: 0.92; transform: translateY(-1px); }
.r133-cp-submit:active:not(:disabled) { transform: translateY(0); }
.r133-cp-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.r133-cp-error {
  font-size: 12px;
  color: #d40012;
  margin-top: 2px;
}

.r133-cp-fine {
  margin: 8px 0 0;
  font-size: 11px;
  color: #9ea8b8;
  text-align: center;
}

/* Success state */
.r133-cp-success {
  text-align: center;
}

.r133-cp-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 10px;
}

.r133-cp-success-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #001428;
}

.r133-cp-success-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: #6b7480;
  line-height: 1.5;
}

.r133-cp-success-cta {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, #d40012 0%, #ff1a2e 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.r133-cp-success-cta:hover { opacity: 0.9; }

/* Mobile — keep it compact */
@media (max-width: 480px) {
  #r133-coupon-widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
