/* General page settings */
/* General page settings */
body {
  margin: 0;
  padding: 0;
  background: #800000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Full-page layout for homepage */
.homepage-layout {
  display: flex;
  height: 100vh;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  box-sizing: border-box;
}

/* Left column for title and mini map */
.left-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Title and subtitle top-left */
header {
  color: white;
  padding: 2rem 1rem 1rem 3rem; /* top, right, bottom, left */
  margin-top: 1rem;
}

header h1 {
  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

header p {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

/* Mini map card under title */
.mini-map-card {
  width: 750px;      /* ⬅️ increase width */
  height: 400px;     /* ⬅️ increase height */
  margin-top: 2rem;
  margin-left: 3rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

#mini-map {
  width: 100%;
  height: 100%;
}

/* Form container on the right */
.form-box {
  width: 400px;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  right: 25px; /* moves form slightly to the left */
  margin-top: 60px;
}

/* Form elements */
label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin-top: 0.5rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button {
  width: 100%;
  margin-top: 1.5rem;
  background-color: #FFD700;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #e6c200;
}

/* Responsive layout */
@media (max-width: 768px) {
  .homepage-layout {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }

  header {
    align-self: center;
    text-align: center;
    padding: 1rem;
    margin: 0;
  }

  header h1 {
    font-size: 3rem;
  }

  .form-box {
    width: 90%;
    max-width: 400px;
    position: static;
  }

  .mini-map-card {
    width: 90%;
    max-width: 300px;
    margin: 1.5rem auto;
  }
}

/* Results Page Styling */

.back-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #ddd;
}

/* Container for results.html */
.results-container {
  display: flex;
  height: calc(100vh - 120px);
  width: 100%;
}

/* Left side: internship list */
.internship-list {
  width: 30%;
  padding: 1.5rem;
  overflow-y: auto;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Right side: map area */
.map-area {
  width: 70%;
  height: 100%;
  background-color: #e0e0e0;
}

/* Internship cards */
.card {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: #333;
  margin-bottom: 1.5rem;
  width: 90%;
  max-width: 500px;
}

.centered-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.question-card {
  background: white;
  color: #333;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  text-align: center;
}

.right-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.interview-link {
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  color: #FFD700;
  text-decoration: none;
}

.interview-link:hover {
  text-decoration: underline;
}