/* ============================================
   GLOBAL STYLES
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body, html {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#0f2027,#203a43,#2c5364);
  color: #fff;
  overflow-x: hidden;
}

/* Glass Container */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255,255,255,0.08);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
  animation: fadeIn 1s ease forwards;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 15px;
  animation: floatLogo 3s ease-in-out infinite alternate;
}

.logo img {
  width: 120px;
}

@keyframes floatLogo {
  0% {transform: translateY(0);}
  100% {transform: translateY(-15px);}
}

/* Headings */
h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 5px;
  color: #00c6ff;
}

h2 {
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 25px;
  color: #fff;
}

/* ============================================
   FORM STEPS
============================================ */
.step-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.step {
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.step input, .step select {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 16px;
  backdrop-filter: blur(10px);
}

.step input::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Buttons */
.btn-next, .btn-prev, .btn-submit {
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
}

.btn-next:hover, .btn-prev:hover, .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.btn-prev {
  background: linear-gradient(135deg, #fc00ff, #00dbde);
}

/* Progress Bar */
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.progress-step {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
}

.progress-step.active {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
}

.progress-step::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  top: 18px;
  left: 50%;
  transform: translateX(50%);
  z-index: -1;
}

.progress-step:last-child::after {
  display: none;
}

/* Live Preview */
.preview {
  margin-top: 15px;
  display: flex;
  justify-content: center;
}

.preview img {
  max-width: 150px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.7s ease forwards;
}

/* ============================================
   TABLE (Admin view)
============================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  color: #fff;
}

th, td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

th {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

a.button {
  padding: 6px 12px;
  border-radius: 12px;
  background: linear-gradient(45deg,#00c6ff,#0072ff);
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

a.button:hover {
  transform: scale(1.05);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeIn {
  0% {opacity: 0; transform: translateY(20px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes slideLeft {
  0% {opacity:0; transform: translateX(50px);}
  100% {opacity:1; transform: translateX(0);}
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .container {
    margin: 20px;
    padding: 20px;
  }

  .btn-next, .btn-prev, .btn-submit {
    width: 100%;
  }

  .progress-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .progress-step::after {
    display: none;
  }
}