/* style.css - cologne store theme */

/* Fullscreen layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Urbanist', 'Poppins', sans-serif;
  background: linear-gradient(160deg, #0e0e0e, #1a1a1a);
  color: #f0f0f0;
  overflow: auto; /* prevent scrollbars */
}

/* Centering wrapper */
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding: 0;
  overflow: auto;
}

/* Card box styling */
.card {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4rem 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 520px;
  font-size: 1.15rem;
}

/* Headings */
h1, h2 {
  font-weight: 500;
  letter-spacing: 1px;
  color: #ffffff;
}

.card h2 {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Inputs and buttons */
input, select, textarea, button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  margin-top: 6px;
  background: #1b1b1b;
  color: #fff;
  font-size: 1.1rem;
}

input:hover,
input:focus,
textarea:hover,
textarea:focus {
  background: #2b2b2b;
  box-shadow: 0 0 8px rgba(0, 119, 204, 0.5);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

button,
input[type="submit"] {
  background-color: #0077cc;
  color: white;
  font-weight: 500;
  margin-top: 8px;
  transition: background-color 0.3s ease;
  border-radius: 8px;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background-color: #005fa3;
}

/* Message box for success/alerts */
.message {
  background: #1d3b1d;
  color: #afffaf;
  padding: 1rem;
  border-left: 4px solid #4caf50;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 1rem;
}

/* Back link */
a {
  color: #a1cdf1;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.cart-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f1f1f;
  color: #a0ffa0;
  padding: 12px 20px;
  border-left: 4px solid #4caf50;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  z-index: 999;
  font-size: 1rem;
  max-width: 90%;
  text-align: center;
}