@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #FFC107;      /* Golden Yellow */
  --secondary-color: #D32F2F;    /* Deep Red */
  --bg-color: #FFFDF9;           /* Soft Cream */
  --text-color: #212121;         /* Charcoal Black */
  --text-muted: #666666;
  --white: #ffffff;
  
  --shadow-soft: 0 20px 50px -10px rgba(211, 47, 47, 0.08), 0 0 1px rgba(211, 47, 47, 0.15);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.05);
  
  --radius-card: 12px;
  --radius-pill: 100px;
  
  --font-primary: 'Outfit', 'Noto Sans KR', sans-serif;
  --letter-spacing: -0.03em;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bouncy: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* CSS reset / Base settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-color);
  letter-spacing: var(--letter-spacing);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Common utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-primary {
  background-color: var(--primary-color);
}

/* Buttons and Pills */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 700;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: var(--transition-bouncy);
  font-family: var(--font-primary);
}

.btn-pill-primary {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.btn-pill-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.btn-pill-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-pill-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.tab-pill {
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

/* Card utilities */
.card-round {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  background: var(--white);
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Custom Checkbox Styling */
.custom-checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(211, 47, 47, 0.3);
  border-radius: 4px;
  background-color: var(--bg-color);
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.custom-checkbox:hover {
  border-color: var(--secondary-color);
}

.custom-checkbox:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 1px;
  left: 5px;
}

.custom-checkbox:focus-visible {
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.25);
  outline: none;
}

/* Custom Select Dropdown Styling */
select.form-control, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D32F2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
}

