@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
      font-family: "Poppins",
            sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f5f5f5;
      color: #333;
}

main {
      
      padding: 20px;
      margin: 20px auto;
      max-width: 1400px;
      background-color: white;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
      color: red;
      text-align: center;
}

form {
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 90%;
      margin: 0 auto;
}

form input,
form select,
form textarea {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
}

form button {
      background-color: red;
      color: white;
      padding: 10px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
}


/* Sell Gadget Page Styles */

.page-header {
      text-align: center;
      background-color: #6663E9;
      color: #fff;
      padding: 2rem;
      width: 100%;
}

.page-header h1 {
      margin: 0;
      font-size: 2rem;
      animation: fadeInDown 0.6s ease;
}

.page-header p {
      font-size: 1rem;
      margin-top: 0.5rem;
}

.form-section {
      background-color: #f9f9f9;
      padding: 2rem;
      border-radius: 8px;
      width: 90%;
      max-width: 1100px;
      margin: 2rem auto;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      animation: fadeInUp 0.6s ease;
}

.form-group {
      margin-bottom: 1.5rem;
}

.mandatory{
      color: #000;
}

label {
      font-size: 1rem;
      display: block;
      color: #333;
      margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
      width: 100%;
      padding: 0.8rem;
      border-radius: 4px;
      border: 1px solid #ddd;
}

input[type="checkbox"],
input[type="radio"] {
      margin-right: 0.5rem;
}

.submit-btn {
      background-color: #000;
      color: #fff;
      padding: 0.8rem 1.5rem;
      font-size: 1.3rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
      display: block;
      width: 100%;
      font-weight: bold;
}

.submit-btn:hover {
      background-color: #1e1e1e;
}

/* Form Section Headings */
h2 {
      color: #333;
      font-size: 1.2rem;
      margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInDown {
      from {
            opacity: 0;
            transform: translateY(-30px);
      }

      to {
            opacity: 1;
            transform: translateY(0);
      }
}

@keyframes fadeInUp {
      from {
            opacity: 0;
            transform: translateY(30px);
      }

      to {
            opacity: 1;
            transform: translateY(0);
      }
}

/* Responsive Design */
@media (max-width: 768px) {
      .form-section {
            padding: 0.2rem;
            width: 100%;
      }

      .page-header {
            padding: 1rem;
      }

      label {
            font-size: 0.9rem;
      }

      .submit-btn {
            padding: 0.6rem 1rem;
      }
}

/* --------------- Success Page Styles ---------------- */

.success-section {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      background-color: #f0f0f0;
      padding: 2rem;
}

.success-content {
      text-align: center;
      background-color: #fff;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      max-width: 500px;
      width: 100%;
      animation: fadeInUp 0.6s ease;
}

.success-icon {
      font-size: 4rem;
      color: #28a745;
      margin-bottom: 1rem;
}

.success-content h2 {
      color: #333;
      font-size: 1.8rem;
      margin-bottom: 1rem;
}

.success-content p {
      font-size: 1rem;
      color: #666;
      margin-bottom: 2rem;
}

.back-link {
      display: inline-block;
      text-decoration: none;
      background-color: #000;
      color: #fff;
      padding: 0.8rem 1.5rem;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s;
}

.back-link:hover {
      background-color: #000;
}

/* Animations */
@keyframes fadeInUp {
      from {
            opacity: 0;
            transform: translateY(30px);
      }

      to {
            opacity: 1;
            transform: translateY(0);
      }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
      .success-content {
            padding: 1.5rem;
      }

      .success-icon {
            font-size: 3rem;
      }

      .success-content h2 {
            font-size: 1.5rem;
      }

      .success-content p {
            font-size: 0.95rem;
      }
}