body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #F3FAFF;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.role-container {
  background: linear-gradient(to bottom, #ffffff 0%, #D9EEFF 70%);
  border-radius: 20px;
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 1000px;
  max-width: 100%;
  overflow: hidden;
  animation: popIn 0.6s ease-out;
  transform: scale(0.95);
  animation-fill-mode: forwards;
}


@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.role-image-section {
  flex: 0 0 auto;
  max-height: 450px;
}

.role-image-section img {
  height: 100%;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  display: block;
}

.role-content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.role-content-section h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1c1c1c;
  text-align: center;
}

.role-content-section p {
  font-size: 14px;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

.role-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.role-buttons a{
  text-decoration: none;
}

.role-buttons button {
  background-color: #026181;
  color: white;
  border: none;
  padding: 18px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 160px;
  height: 100px;
}

.role-buttons button i {
  font-size: 20px;
}

.role-buttons button:hover {
  background-color: #09BBF9;
}

.role-login-link {
  font-size: 14px;
  width: 100%;
  text-align: center;
}

.role-login-link a {
  color: #026181;
  text-decoration: none;
}

.role-login-link a:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  body {
    align-items: flex-start;
    padding: 20px;
  }

  .role-container {
    flex-direction: column;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .role-image-section {
    width: 100%;
    max-height: 250px;
  }

  .role-image-section img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .role-content-section {
    padding: 20px;
  }

  .role-buttons {
    flex-direction: column;
    align-items: center;
  }

  .role-buttons button {
    width: 90%;
  }
}
