
.topInputs {
  display: grid;

  grid-template-columns:
    240px
    repeat(4, 1fr)
    220px;

  gap: 12px;

  background: white;

  padding: 14px;

  border-radius: 18px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

h1 {
  margin: 25px 15px;
  font-size: 24px;
}

.field {
  position: relative;
}

label {
  position: absolute;
  top: -8px;
  left: 14px;

  background: white;

  padding: 0 6px;

  font-size: 13px;

  color: #374151;
}

input,
select {
  width: 100%;
  height: 44px;

  border-radius: 12px;

  border: 1px solid #cfd8e3 !important;

  padding: 0 14px;

  font-size: 15px;

  background: white;
  color: black;
}

input:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
}

button {
  height: 44px;

  border: none;

  border-radius: 12px;

  background: linear-gradient(90deg, #3b82f6, #2563eb);

  color: white;

  font-size: 15px;

  cursor: pointer;

  transition: 0.2s;
}

button:hover {
  transform: translateY(-2px);
}

.tableWrapper {
  margin: 0 5px;

  margin-top: 16px;

  overflow: auto;

  background: white;

  border-radius: 18px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;

  border-collapse: collapse;
}

th {
  background: #eef3fa;

  font-size: 14px;

  font-weight: 600;

  padding: 18px;

  border: 1px solid #d9e1eb;
}

td {
  padding: 18px;

  text-align: right;

  border: 1px solid #d9e1eb;

  font-size: 14px;
}

td:first-child {
  text-align: center;

  color: #2563eb;

  font-weight: 500;
}

.classic {
  background: #fdf1f1;
}

.woodie {
  background: #fdf8ef;
}

.camarilla {
  background: #faf2ff;
}

.fibonacci {
  background: #f1f9ff;
}

.demark {
  background: #f3fcf4;
}

.cprSection {
  margin-top: 18px;

  background: white;

  border-radius: 18px;

  padding: 22px;

  min-height: 220px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cprTitle {
  font-size: 22px;

  font-weight: 600;

  margin-bottom: 50px;
}

.cprChart {
  display: flex;

  align-items: center;

  width: 100%;

  overflow: hidden;

  border-radius: 12px;
}

.zone {
  flex: 1;

  text-align: center;

  padding: 12px 8px;

  font-weight: 600;

  font-size: 14px;
}

.support {
  background: #bde5d7;
}

.pivot {
  background: #9ad7c2;
}

.cpr {
  background: #e7c9c9;
}

.resistance {
  background: #e9c8c8;
}

@media (max-width: 1200px) {
  .topInputs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container{
    margin-bottom: 15px;
  }
  .topInputs {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  th,
  td {
    padding: 14px 10px;
    font-size: 13px;
  }

  .cprChart {
    overflow: auto;
  }

  .zone {
    min-width: 90px;
  }
}
