/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
  }
  
  body {
    background-color: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  /* Container Styles */
  .container,
  .login-container,
  .register-container {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 400px;
  }
  
  h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
  }
  
  /* Form Fields */
  label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.3s ease;
  }
  
  input:focus {
    border-color: #007bff;
    outline: none;
  }
  
  /* Buttons */
  button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  .logout-btn {
    background-color: #dc3545;
  }
  
  .logout-btn:hover {
    background-color: #c82333;
  }
  
  /* Dropdown Styles */
  .skills-dropdown {
    position: relative;
    margin-bottom: 18px;
  }
  
  .skills-dropdown input {
    cursor: pointer;
    background-color: #f9f9f9;
  }
  
  .skills-options {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    z-index: 1000;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .skills-dropdown.active .skills-options {
    display: block;
  }
  
  .skills-options label {
    display: block;
    margin-bottom: 6px;
    font-weight: normal;
  }
  
  /* Messages */
  #responseMessage,
  .message {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
  }
  
  .message.success,
  #responseMessage.success {
    color: green;
  }
  
  .message.error,
  #responseMessage.error {
    color: red;
  }
  
  /* Link styles */
  .register-link,
  .login-link {
    text-align: center;
    margin-top: 20px;
  }
  
  .register-link a,
  .login-link a {
    color: #007bff;
    text-decoration: none;
  }
  
  .register-link a:hover,
  .login-link a:hover {
    text-decoration: underline;
  }
  body {
  font-family: 'Roboto', sans-serif;
  background: #f1f1f1;
  margin: 0;
  padding: 0;
}

.form-container {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  padding: 30px;
  margin: 100px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

label {
  display: block;
  margin: 12px 0 5px;
  color: #555;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 14px;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #007BFF;
  color: white;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

p {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

p a {
  color: #007BFF;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}
