/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #74ebd5, #9face6);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container */
.container {
  background: linear-gradient(to right, #74ebd5, #052ddf);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
}


/* Form */
.register-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
}

.register-form input,
.register-form select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.register-form input:focus,
.register-form select:focus {
  border-color: #6c63ff;
  outline: none;
}

.register-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #667eea, #764ba2);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.register-form button:hover {
  background: linear-gradient(to right, #1bdd0d, #c1a046);
}

/* Login link */
.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #6c63ff;
  text-decoration: none;
  font-weight: bold;
}

.login-link a:hover {
  text-decoration: underline;
}


/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #74ebd5, #9face6);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container */
.container {
  background-color: #c61f1f;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
}

/* Common Form Styles */
.register-form h2,
.login-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
}

.register-form input,
.login-form input,
.register-form select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.register-form input:focus,
.login-form input:focus,
.register-form select:focus {
  border-color: #6c63ff;
  outline: none;
}

.register-form button,
.login-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #667eea, #764ba2);
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.register-form button:hover,
.login-form button:hover {
  background: linear-gradient(to right, #5a67d8, #6b46c1);
}

/* Link below forms */
.login-link {
    
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #6c63ff;
 text-decoration: red;
}

.login-link a {
  color: #6c63ff;
  text-decoration: red;
  font-weight: bold;
}

.login-link a:hover {
  text-decoration: underline;
}
    .login-button {
      background: transparent;
      color: #d32f2f; /* Red */
      border: 2px solid #d32f2f;
      padding: 6px 12px;
      border-radius: 6px;
      font-weight: bold;
      text-decoration: none;
    }

body {
  font-family: "Segoe UI", sans-serif;
    margin: 0;
  padding: 0;
    display: flex;
  flex-direction: column;
  min-height: 100vh;
   background: linear-gradient(to bottom right, #3be1f7ff, #bb5b5bff);
}

.dashboard-header {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 0 0 12px 12px;
}

.dashboard-header h3 {
  margin: 0;
}

.logout-link {
  display: inline-block;
  margin-top: 10px;
  background: #dc3545;
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 6px;
}

.logout-link:hover {
  background: #c82333;
}

.dashboard-container {
  background: white;
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.role-section h2 {
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #764ba2;
  padding-bottom: 5px;
}

.role-section ul {
  list-style-type: square;
  padding-left: 20px;
  color: #555;
}
