* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

header p{
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
  line-height: 1.6;
}

.content {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.panel {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: all 0.3s ease;
}

.input-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.result-panel {
  flex: 1.5;
  display: flex;
  flex-direction: column;
}

.panel-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group{
   margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #34495e;
  font-size: 1.05rem;
}

input,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  background-color: #f9fafb;
}

input:focus,
select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

input[type="number"] {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.btn {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #e74c3c;
  color: white;
}

.btn-secondary:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

.btn-tertiary {
  background-color: #2ecc71;
  color: white;
}

.btn-tertiary:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}

.result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.income-heading {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-bottom: 25px;
}

.earned-amount {
  font-size: 3.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.detail-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.detail-label {
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-bottom: 8px;
}

.detail-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
}

.timer {
  font-size: 3.2rem;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #2ecc71;
  margin: 30px 0;
  text-shadow: 0 2px 10px rgba(46, 204, 113, 0.2);
}

.info-section {
  padding: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.info-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.feature {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  text-align: center;
  transition: transform 0.3s;
}


.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 12px;
}

.feature-desc {
  color: #7f8c8d;
  line-height: 1.6;
}

.about {
  line-height: 1.8;
  color: #34495e;
  margin: 0 auto;
}

.about p{
  margin-top: 10px;
}

.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 62, 80, 0.95);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.notice.show {
  opacity: 1;
}

.custom-holiday {
  display: none;
}

.custom-holiday.visible {
  display: block;
}

.highlight {
  color: #e74c3c;
  font-weight: bold;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 1rem;
}

.hours-note {
  display: block;
  margin-top: 5px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.hours-note.highlight {
  color: #e74c3c;
  font-weight: bold;
}
