/* RotatingRoom Pricing Prototype — Shared Styles
   Extracted from production Tailwind config + app.css */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* NOTE: Bogart is a paid font. We approximate with Georgia for prototypes. */

:root {
  /* Colors from tailwind.config.js */
  --blue50: #EFF1F5;
  --blue100: #D5E2E4;
  --blue200: #607081;
  --blue300: #264B5B;
  --blue400: #283949;
  --yellow50: #FDF0DD;
  --yellow100: #FFD89D;
  --yellow200: #FFC875;
  --yellow300: #EAC076;
  --yellow400: #CE9B4D;
  --taupe50: #FAF7F2;
  --taupe100: #F2EDE3;
  --taupe200: #C8C2B6;
  --dark: #37404D;
  --shadow: #303841;
  --error: #EE1E1E;
  --success: #07A537;
  --disabled: #DDDDDD;
  --disabledDark: #9B9B9B;

  /* Shadows from tailwind.config.js */
  --shadow-short: 0 3px 0 0 #283949;
  --shadow-large: 0 5px 0 0 #283949;
  --shadow-shadowShort: 0 3px 0 0 #303841;
  --shadow-shadowLong: 0 5px 0 0 #303841;
  --shadow-shadowDisabled: 0 3px 0 0 #9B9B9B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Manrope', sans-serif;
  /* Font weights are shifted -100 in production */
  font-weight: 300; /* normal = 300 in RR config */
  color: var(--dark);
  background: var(--taupe50);
  -webkit-font-smoothing: antialiased;
}

/* Production button classes from app.css */
.rr-primary-button {
  color: var(--dark);
  background: var(--yellow200);
  border-radius: 8px;
  text-align: center;
  font-weight: 400; /* font-medium = 400 in RR */
  box-shadow: var(--shadow-shadowShort);
  border: 1px solid var(--shadow);
  transition: background-color 0.3s;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.rr-primary-button:hover { background: var(--yellow100); }
.rr-primary-button:disabled {
  background: var(--disabled);
  box-shadow: var(--shadow-shadowDisabled);
  border-color: var(--disabledDark);
  color: var(--disabledDark);
  cursor: not-allowed;
}

.rr-secondary-button {
  color: var(--taupe50);
  background: var(--blue300);
  border-radius: 8px;
  text-align: center;
  font-weight: 400;
  box-shadow: var(--shadow-shadowShort);
  border: 1px solid var(--shadow);
  transition: background-color 0.3s;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.rr-secondary-button:hover { background: #346276; }
.rr-secondary-button:disabled {
  background: var(--disabled);
  box-shadow: var(--shadow-shadowDisabled);
  border-color: var(--disabledDark);
  color: var(--disabledDark);
  cursor: not-allowed;
}

/* Variant label for prototype viewing */
.prototype-label {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--blue400);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  letter-spacing: 0.5px;
}
.prototype-label a { color: var(--yellow200); text-decoration: underline; margin-left: 12px; }

/* Shared page wrapper */
.page-wrapper {
  padding-top: 44px; /* account for prototype label */
}

/* Bogart approximation */
.font-serif { font-family: Georgia, 'Times New Roman', serif; }

/* Info tooltip — hover to reveal detail text */
.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--taupe200);
  color: var(--blue200);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  cursor: help;
  margin-left: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
.info-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  width: max-content;
  max-width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.info-tip:hover::after {
  opacity: 1;
}
