* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-y: auto;
  color: #fff;
  background: linear-gradient(135deg, #000014, #0a0a40);
}

canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.container {
  max-width: 300px;
  margin: 100px auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  backdrop-filter: blur(10px);
}

h1 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 16px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
  transition: all 0.3s ease;
}

.custom-file-upload:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
}

.custom-file-upload input[type="file"] {
  display: none;
}

.styled-button, select {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(106, 17, 203, 0.3);
}

.styled-button:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
}

select {
  appearance: none;
  outline: none;
  border: none;
}

#cropContainer, #croppedPreview {
  display: none;
  margin-top: 1rem;
}

#croppedPreview {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
