* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 100%;
  list-style: none;
}

:root {
  --body-bg: #ffffff;
  --text-color: #000000;
  --button-bg: #f36668;
  --button-color: #ffffff;
  --button-hover: #f36668;
  --border-color: #e0e0e0;
  --container-width: 1200px;
  --main-font: system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
}

html {
  font-size: 16px;
}

body {
  background-color: var(--body-bg);
  color: var(--text-color);
  font-family: var(--main-font);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0;
  }
}

.app-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.app-header h1 {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #f36668;
}

.app-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
}

.app-loader.visible {
  display: flex;
}

.loader {
  border: 5px solid #fff;
  border-top: 5px solid var(--button-bg);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

form {
  margin-top: 2rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 0.25rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form .form-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

input[type="text"] {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  margin-right: 1rem;
}

input[type="text"]:focus {
  outline: none;
  box-shadow: none;
}

.btn {
  background: var(--button-bg);
  color: var(--button-color);
  padding: 0.6rem 1.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.5;
  border: none;
  transition: all 0.3s ease;
}

.alert {
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  margin-top: 1rem;
  display: none;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.app-whois-result {
  margin-top: 2rem;
  padding: 1rem;
  background: #fff;
  border-radius: 0.25rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.app-whois-result__item {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-color);
}

.app-whois-result__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.app-whois-result__label {
  font-weight: bold;
}

@media (min-width: 768px) {
  form .form-group input[type="text"] {
    width: 70%;
  }
}


