/* OMURGA SYSTEMS - Page Style: kriz-hesaplayici.css (Calculator Core Styles) */

/* Page Hero Elements */
.page-hero {
  padding: 4.5rem 0 3.5rem 0;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-subtle, #F8F9FA) 100%);
  border-bottom: 1px solid var(--border-main, #E0E2E7);
  text-align: center;
}
.page-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sem-orange, #FF642D);
  margin-bottom: 0.75rem;
  display: inline-block;
  background: var(--sem-orange-light, #FFF0EB);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
}
.page-h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-title, #191B23);
  max-width: 920px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.18;
}
.page-lead {
  font-size: 1.15rem;
  color: var(--text-body, #3B3F4A);
  max-width: 740px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* Calculator Card, Forms & Typography */
.card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-main, #E0E2E7);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(25, 27, 35, 0.06);
  transition: all 0.2s ease;
}
.card-box:hover {
  border-color: var(--sem-orange, #FF642D);
  box-shadow: 0 12px 28px rgba(25, 27, 35, 0.12);
}
.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-title, #191B23);
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border-main, #E0E2E7);
  border-radius: 6px;
  padding: 0 1rem;
  font-size: 0.95rem;
  color: var(--text-title, #191B23);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus {
  border-color: var(--sem-orange, #FF642D);
  box-shadow: 0 0 0 3px rgba(255, 100, 45, 0.15);
}
.btn-submit {
  width: 100%;
  height: 50px;
  background: var(--sem-orange, #FF642D);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-submit:hover {
  background: var(--sem-orange-hover, #E84E1B);
}

/* Places Autocomplete Dropdown Styles */
.places-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  box-shadow: 0 16px 40px -4px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.05);
  z-index: 1000;
  max-height: 340px;
  overflow-y: auto;
  display: none;
  text-align: left;
}
.places-dropdown.visible { display: block; }
.places-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.places-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid #F1F5F9;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}
.places-item:last-child { border-bottom: none; }
.places-item:hover, .places-item.selected {
  background: #F8FAFC;
  border-left: 3px solid #EA580C;
}
.places-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #FFF7ED;
  border: 1px solid #FFEDD5;
  color: #EA580C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.places-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.places-item-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.places-item-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  word-break: break-word;
}
.places-item-badge {
  font-size: 0.68rem;
  font-weight: 800;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.places-item-row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.places-item-address {
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.3;
  word-break: break-word;
}
.places-item-rating {
  font-size: 0.72rem;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.places-item-custom { background: #F8FAFC; }
.places-dropdown-footer {
  padding: 0.55rem 0.85rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  font-size: 0.72rem;
  color: #64748B;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
