*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
  --primary-color: #2C3E50;      
  --secondary-color: #2980B9;    
  --tertiary-color: #E67E22;     

  --background-color: #F7F7F7;   
  --text-color: #333333;         
  
  --success-color: #27AE60;       
  --error-color: #C0392B;        
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #F7F7F7, #ECF0F1);
  background: url('/images/background/i_minds_bg.webp');
  color: var(--text-color);
}

/* 📌 Layout */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 9;
}

.footer-wrapper {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.content {
  background: linear-gradient(135deg, #FFFFFF, #F7F7F7);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 0, 0, 0.05);
  margin: 3em auto;
  max-width: 600px;
  padding: 40px;
  text-align: center;
}

/* 📝 Form Styles */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  color: var(--primary-color);
  font-size: clamp(1.4em, 4vw, 2.5em);
  font-weight: 800;
  margin-bottom: 20px;
}

.user-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5em;
  width: 80%;
}

.idea-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5em;
  width: 100%;
}

label {
  font-size: 1.1em;
  color: var(--text-color);
  margin-bottom: 0.2em;
}

.fa,
.far,
.fas {
  font-family: "Font Awesome 5 Free";
  color: var(--primary-color);
}

.user-container [type="text"]:nth-of-type(1) {
  background-color: rgba(186, 196, 207, 0.7);
  width: 50%;
  padding: 0.7em 1em;
  text-align: center;
  color: var(--text-color);
  font-weight: 700;
}

input[type="text"],
textarea {
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  width: 100%;
}

input[type="submit"] {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0.625em;
  letter-spacing: 0.2em;
  width: 100%;
}

input[type="submit"]:hover {
  background-color: var(--primary-color);
}

input[type="submit"]:active {
  transform: translateY(2px);
}

/* 📢 Response Message Styles */
.response-message {
  display: none;
  padding: 0.9375em;
  border-radius: 0.3125em;
  margin-bottom: 1em;
  transition: opacity 0.3s ease-in-out;
}

.response-message.show {
  display: block;
}

/* ✅ Success Message */
.response-message.success {
  background-color: #d4edda;
  color: var(--success-color);
  border: 1px solid #c3e6cb;
}

/* ❌ Error Message */
.response-message.error {
  background-color: #f8d7da;
  color: var(--error-color);
  border: 1px solid #f5c6cb;
}

.response-heading {
  font-weight: bold;
  margin-top: 10px;
}

.response-paragraph {
  margin-bottom: 5px;
}

/* 🖥️ Responsive Design */
@media screen and (max-width: 680px) {
  .content {
    max-width: 450px;
    padding: 30px;
  }
}

@media screen and (max-width: 480px) {
  .content {
    width: 95%;
    padding: 0.9375em;
    margin: 0.5em auto;
  }

  .response-message {
    font-size: 0.9em;
  }
}


