html, body {
  background: #141414;
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: #fff;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #141414;
}

.modal-dialog {
  background: #191919;
  border-radius: 14px;
  box-shadow: 0 2px 24px #000c;
  padding: 30px 22px 26px 22px;
  max-width: 480px;
  width: 98vw;
  position: relative;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  font-align: center;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  color: #888;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-desc {
  color: #bbbbbb;
  font-size: 1rem;
  margin-bottom: 16px;
  margin-top: 0;
}

.form-group {
  margin-bottom: 22px;
}

.field-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 3px;
  color: #fff;
}

.field-sub {
  font-size: 0.90rem;
  color: #aaa;
  margin-bottom: 8px;
}

.field-input {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  background: #222;
  border: 1.5px solid #333;
  color: #fff;
  outline: none;
  resize: vertical;
  margin-bottom: 2px;
  transition: border 0.2s;
  box-sizing: border-box;
}

.field-input:focus {
  border: 1.5px solid #5c86ff;
  background: #191c22;
}

.submit-practice-btn {
  border: none;
  background: #ffd700;
  color: #000;
  font-weight: 500;
  border-radius: 9px;
  font-size: 1.18rem;
  padding: 13px 16px;
  width: 100%;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.22s;
}

.submit-practice-btn:hover,
.submit-practice-btn:active {
  background: #2176ce;
}

@media (max-width: 600px) {
  .modal-dialog {
    max-width: 99vw;
    padding: 16px 4vw 18px 4vw;
  }
  .modal-title {
    font-size: 1.22rem;
  }
}
