/* 진(塡)부동산 Custom CSS */

body {
  margin: 0;
  padding: 0;
  font-family: '굴림', Gulim, '맑은 고딕', 'Malgun Gothic', sans-serif;
  font-size: 12px;
  color: #333333;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* Header Menu Hover Animation */
.menu-item {
  transition: transform 0.15s ease, filter 0.15s ease;
}

.menu-item:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Property Card Hover */
.property-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background-color: #ffffff;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Floating Wing */
#right_wing_container {
  position: absolute;
  top: 10px;
  width: 118px;
  z-index: 100;
  transition: top 0.25s ease-out;
}

/* Area converter styles */
.calc-input {
  font-size: 11px;
  padding: 2px 4px;
  border: 1px solid #c9c9c9;
  text-align: right;
}

.calc-output {
  font-size: 11px;
  font-weight: bold;
  color: #e51a2d;
  background-color: #fbf8ef;
  border: 1px solid #d5cbaf;
  padding: 2px 4px;
  text-align: right;
}

/* Modal for Loan Calculator */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #ffffff;
  border: 3px solid #1a365d;
  border-radius: 6px;
  width: 480px;
  max-width: 90%;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-size: 12px;
}

.modal-header {
  font-size: 16px;
  font-weight: bold;
  color: #1a365d;
  border-bottom: 2px solid #1a365d;
  padding-bottom: 8px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  cursor: pointer;
  font-size: 20px;
  color: #888888;
  border: none;
  background: none;
}

.modal-close:hover {
  color: #000000;
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.calc-table th {
  background: #f1f5f9;
  padding: 8px;
  border: 1px solid #cbd5e1;
  text-align: left;
  font-weight: normal;
  width: 32%;
}

.calc-table td {
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
}

.calc-btn-action {
  background: #1a365d;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
}

.calc-btn-action:hover {
  background: #0f2744;
}

/* Toast Message */
#toast-notification {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b2b2b;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 10000;
}

/* Print Styling */
@media print {
  #right_wing_container, .no-print, .header-banner, .footer-section, #left_navigation_col {
    display: none !important;
  }
  body, table {
    width: 100% !important;
  }
}
