/* ===== General Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #ffffff;
  color: #1A2A44;
  line-height: 1.5;
}

/* ===== Header ===== */
header {
  position: relative;
  height: 80px;
  background: #1A2A44;
}

/* Burger button: top-left */
.burger {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo top-right */
.logo-container {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 10px 15px;
  border-radius: 5px;
  z-index: 1000;
}

header img {
  display: block;
  max-height: 60px;
  width: auto;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Side Menu with Rounded Edges */
.side-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 250px;
  height: calc(100% - 80px);
  background: linear-gradient(to bottom right, #1A2A44, #27AE60);
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 100;
  border-top-right-radius: 15px;    /* rounded top-right corner */
  border-bottom-right-radius: 15px; /* rounded bottom-right corner */
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
}

.side-menu a:hover {
  color: #f1f1f1;
}

/* ===== Hero Section ===== */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, #1A2A44, #27AE60);
  color: #fff;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero .hero-btn {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  background: #fff;
  color: #1A2A44;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.hero .hero-btn:hover {
  background: #f1f1f1;
}

/* ===== Features Grid ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
}

.feature-card {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #1A2A44;
}

.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  background: #1A2A44;
  color: #fff;
  font-size: 0.9rem;
}

footer a {
  color: #27AE60;
  margin: 0 0.5rem;
  text-decoration: none;
}

/* ===== Responsive ===== */
@media(max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  header img {
    max-height: 50px;
  }
}

.menu-logo {
  text-align: center;
  padding: 1rem 0; /* space above/below logo */
}

.logo-wrapper {
  display: inline-block;
  background-color: #fff;       /* white square */
  border-radius: 15px;          /* rounded corners */
  padding: 20px;                /* space inside square around logo */
  box-shadow: 0 0 10px rgba(0,0,0,0.2); /* optional subtle shadow */
}

.logo-wrapper img {
  max-width: 100px;    /* scale to fit nicely inside square */
  height: auto;
  display: block;
}
/* Vacancy form card inside hero */
.vacancy-hero .vacancy-form-container {
  background: #f9f9f9;          /* light card background like feature cards */
  color: #1A2A44;
  border-radius: 15px;
  padding: 2rem;
  max-width: 500px;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.vacancy-hero label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #1A2A44;
}

.vacancy-hero input,
.vacancy-hero select,
.vacancy-hero textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.vacancy-hero button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  background: #27AE60;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.vacancy-hero button:hover {
  background: #1A2A44;
  transform: scale(1.03);
}

.vacancy-hero #message {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
  color: #27AE60;
}

/* Make responsive */
@media(max-width:600px){
  .vacancy-hero .vacancy-form-container {
    padding: 1.5rem;
    margin: 1rem;
  }
}

/* Manager Register Form Card */
.register-hero .register-form-container {
  background: #f9f9f9;
  color: #1A2A44;
  border-radius: 15px;
  padding: 2rem;
  max-width: 500px;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.register-hero label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #1A2A44;
}

.register-hero input {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.register-hero button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  background: #27AE60;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.register-hero button:hover {
  background: #1A2A44;
  transform: scale(1.03);
}

.register-hero #registerMessage {
  margin-top: 1rem;
  font-weight: bold;
  text-align: center;
  color: #27AE60;
}

/* Responsive */
@media(max-width:600px){
  .register-hero .register-form-container {
    padding: 1.5rem;
    margin: 1rem;
  }
}
/* Login Popup Overlay */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 3000; /* Higher than menu overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Login Form Container */
.login-form-container {
  background: #f9f9f9;
  color: #1A2A44;
  border-radius: 15px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.login-overlay.active .login-form-container {
  transform: scale(1);
}

/* Logo in popup */
.login-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-logo-wrapper {
  display: inline-block;
  background-color: #fff;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-logo-wrapper img {
  max-width: 80px;
  height: auto;
  display: block;
}

/* Close button */
.login-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1A2A44;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.login-close:hover {
  background: rgba(26, 42, 68, 0.1);
}

/* Form styling to match your existing forms */
.login-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1A2A44;
  font-size: 1.4rem;
}

.login-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #1A2A44;
}

.login-form input {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.login-form input:focus {
  outline: none;
  border-color: #27AE60;
}

.login-form button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  background: #27AE60;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.login-form button:hover {
  background: #1A2A44;
  transform: scale(1.03);
}

.login-form button:disabled {
  background: #ccc;
  transform: none;
  cursor: not-allowed;
}

.forgot-password {
  text-align: center;
  margin-top: 1rem;
}

.forgot-password a {
  color: #27AE60;
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.login-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.login-message.success {
  color: #27AE60;
}

.login-message.error {
  color: #e74c3c;
}

/* Register link */
.register-link {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.register-link a {
  color: #1A2A44;
  text-decoration: none;
  font-weight: bold;
}

.register-link a:hover {
  color: #27AE60;
}

/* Responsive */
@media(max-width: 600px) {
  .login-form-container {
    padding: 1.5rem;
    margin: 0.5rem;
  }

  .login-logo-wrapper img {
    max-width: 70px;
  }
}

/* Add this to your existing form styling */
.register-hero select {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
  color: #1A2A44;
  cursor: pointer;
}

.register-hero select:focus {
  outline: none;
  border-color: #27AE60;
}

/* Style the dropdown arrow */
.register-hero select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.club-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  height: 80px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
}

.club-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Hide the text badge since we're showing logos */
.vacancy-type-badge {
  display: none;
}
.vacancy-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.vacancy-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}

.back-to-hanley {
  margin: 40px auto 60px;
  text-align: center;
}

.back-text a {
  font-weight: 600;
  color: #ffffff;              /* adjust if background is light */
  text-decoration: none;
}

.back-text a:hover {
  text-decoration: underline;
}

.hanley-logo-link {
  display: inline-block;
  margin-top: 12px;
}

.hanley-logo {
  width: 80px;
  height: auto;
  transition: transform 0.2s ease;
}

.hanley-logo-link:hover .hanley-logo {
  transform: scale(1.05);
}
