@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Text:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #e5e5e5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: #121212;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  width: 1000px;
  padding: 40px 40px 60px 40px;
  text-align: center;
}

.logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: #007aff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px #007aff66;
}

.logo svg {
  width: 36px;
  height: 36px;
  fill: white;
}

h1 {
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}

.header-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #2c2c2c;
  padding-bottom: 8px;
}

.header-row input[type="text"],
.header-row input[type="tel"] {
  flex: 1;
  background: #1e1e1e;
  border: 1.5px solid #2c2c2c;
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 1rem;
  color: #e5e5e5;
  font-weight: 500;
  transition: border-color 0.3s ease;
}

.header-row input[type="text"]::placeholder,
.header-row input[type="tel"]::placeholder {
  color: #6a6a6a;
}

.header-row input[type="text"]:focus,
.header-row input[type="tel"]:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 8px #007aff99;
}

button.add-btn {
  background-color: #007aff;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 16px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 122, 255, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

button.add-btn:hover {
  background-color: #005ecb;
  box-shadow: 0 8px 16px rgba(0, 94, 203, 0.7);
}

.contact-list {
  margin-top: 12px;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  background: #1e1e1e;
  box-shadow: inset 0 0 8px #000000;
  transition: background-color 0.25s ease;
}

.contact-item:hover {
  background: #292929;
}

.contact-info {
  display: flex;
  gap: 24px;
  font-size: 1rem;
  color: #ddd;
  flex: 1;
  font-weight: 500;
}

.contact-info .name {
  flex: 2;
}

.contact-info .phone {
  flex: 2;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.btn-delete {
  background-color: #ff3b30;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(255, 59, 48, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.btn-delete:hover {
  background-color: #d32f27;
  box-shadow: 0 8px 16px rgba(211, 47, 39, 0.7);
}

