/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

h1 {
  font-size: 1.5rem;
  color: aliceblue;
  margin-bottom: 1.5rem;
}
.phone-container {
  background: #000;
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 4px solid #333;
  width: 100%;
  max-width: 360px;
}

.phone-screen {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 30px;
  padding: 30px 20px;
  margin-bottom: 20px;
  border: 2px solid #444;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.input-container {
  margin-bottom: 30px;
}

#user-input {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: 2px solid #555;
  border-radius: 15px;
  background: #2a2a2a;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

#user-input:focus {
  border-color: #007aff;
}

#results-div {
  background: rgb(189, 189, 189);
  border-radius: 15px;
  padding: 20px;
  min-height: 100px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  word-wrap: break-word;
}

.buttons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: auto;
}

#check-btn,
#clear-btn {
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#check-btn {
  background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
  color: white;
}

#check-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
  transform: translateY(-2px);
}

#clear-btn {
  background: linear-gradient(135deg, #ff3b30 0%, #d63028 100%);
  color: white;
}

#clear-btn:hover {
  background: linear-gradient(135deg, #d63028 0%, #b32b23 100%);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .phone-container {
    max-width: 320px;
    border-radius: 35px;
  }

  .phone-screen {
    min-height: 550px;
    border-radius: 25px;
  }

  #user-input {
    font-size: 16px;
    padding: 12px;
  }

  #results-div {
    font-size: 14px;
    padding: 15px;
  }

  #check-btn,
  #clear-btn {
    font-size: 14px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .phone-container {
    max-width: 300px;
    border-radius: 30px;
  }

  .phone-screen {
    min-height: 500px;
    border-radius: 20px;
    padding: 20px 15px;
  }

  #user-input {
    font-size: 14px;
  }

  #results-div {
    font-size: 13px;
  }
}

/* Status bar simulation (optional) */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  color: #fff;
  font-size: 12px;
  margin-bottom: 20px;
}

.time {
  font-weight: 600;
}

.status-icons {
  display: flex;
  gap: 5px;
}

.status-icons span {
  font-size: 14px;
}
