/* Reset some default browser styles */
body,
h1,
p,
input,
button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* General body styling */
body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-color: #f5f5f5;
  flex-direction: column;
  background-color: #df6868;
}

.title_container {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  justify-content: space-between;
  align-items: center;
  /* min-width: 100vw; */
}

.logo {
  height: 90px;
  width: 90px;
  border-radius: 28px;
}

.header_container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 90vw;
  text-align: center;
}

/* Container for input and button */
.input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 50px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for the input field */
.longUrl {
  width: 100%;
  max-width: 400px;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  transition: border 0.3s;
}

.longUrl:focus {
  border-color: #007bff;
}

/* Styling for the button */
.submit {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit:hover {
  background-color: #0056b3;
}

.submit.loading {
  background-color: #6c757d; /* Gray background for loading state */
  cursor: not-allowed;
}

.submit.loading::after {
  content: "Loading..."; /* Text to show during loading */
  font-size: 16px;
  margin-left: 10px;
  animation: spinner 1s linear infinite; /* Optional: Add a spinner animation */
}

/* Styling for the shortened URL display */
.shortUrl {
  margin-top: 50px;
  font-size: 18px;
  color: #000000;
  word-break: break-word;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
}
