/*Global: applies given style to everything:*/
*{
    margin: 0;
    padding:0;
    box-sizing:border-box;
}

/* Applies Styling to body*/
body {
    background: linear-gradient(135deg, rgb(128, 190, 248), #087de3);
    min-height: 100vh;
   font-family: "Poppins", sans-serif;
   display:  flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
   color: #2d3436
}

/* applies style to section or container named container */
.title-container {
    width: 80%;
    max-width: 1200px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}


/* Applies styling to all h1s h2s, and h3s*/
h1 {
    text-align: center;
    color: #1a202c;
    margin-bottom:5px;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}
h2 {

    color: #2d3748;
    margin-bottom: 1px;
    font-size: 1.25rem;
    font-weight: 500;
}

h3 {
    text-align: center;
    color: #474b55;
    margin-bottom:20px;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.parent-container {
    background-color: #fff;
   text-align: center;
   margin-bottom: 35px;
   padding:24px;
   border-radius: 1rem;
   box-shadow: 0 4px 12px rgba(0,0,0,0.05)

}

.form-container {
    background: linear-gradient(135deg, rgb(126, 176, 237), rgb(103, 164, 233));
    text-align: center;
    margin-bottom: 35px;
    padding:24px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05)
}

.form-container h2 {
    padding: 1rem;
    color:#000000;
    font-size: 800;
}

.find-opportunity-container h2 {
    padding: 1rem;
    color:#000000;
    font-size: 800;
}

.registered-opportunities h2 {
    padding: 1rem;
    color:#000000;
    font-size: 800;
}

.find-opportunity-container {
    background: linear-gradient(135deg, rgb(126, 176, 237), rgb(103, 164, 233));
    text-align: center;
    margin-bottom: 35px;
    padding:24px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05)
}

.registered-opportunities {
    background: linear-gradient(135deg, rgb(126, 176, 237), rgb(103, 164, 233));
    text-align: center;
    margin-bottom: 35px;
    padding:24px;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05)
}

.form_container form {
    height: 100%;
    display: flex;
    flex-direction: column;
 }
 
 
 .form-group {
    margin-bottom: 20px
 }
 
 /* input label styling*/
 label {
    display:block;
    margin-bottom: 8px;
    color: #414348;
    font-weight:500;
 }
 
 /* input ox text styling*/
 input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: white;
  }
   /* inpput box styling once clicked(focus) */
  input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  /* styling once hovered */
  input:hover {
    border-color: #cbd5e0;
  }


  /* submit btn styling*/
  button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1670dd 0%, #03316e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    margin-top: auto;
  }
   /* hover state */
  button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
  }
   /* active state(once clicked*/
  button[type="submit"]:active {
    transform: translateY(0);
  }
 
/* Style for the list in Find an Opportunity section */
#opportunity-list {
    list-style-type: none; /* Removes bullet points */
    padding: 0;
    margin-top: 10px;
  }
  
  #opportunity-list li {
    background-color: #f0f8ff;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
    font-size: 0.95rem;
    color: #2c3e50;
  }
  
  /* Style for the list in Registered Opportunities section */
  #registered-opportunity-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
  }
  
  #registered-opportunity-list li {
    background-color: #eaf6fb;
    margin-bottom: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
    font-size: 0.95rem;
    color: #2c3e50;
  }
  
  /* Style the Register buttons inside the list */
  #opportunity-list button,
  #registered-opportunity-list button {
    margin-top: 8px;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  #opportunity-list button:hover,
  #registered-opportunity-list button:hover {
    background-color: #2c80b4;
  }
  