/* ============================
   Font & Base Styling
============================= */

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #212529;
  margin: 0;
  padding: 0;
  
}



/* ============================
   Header Top Bar
============================= */
.container-fluid.py-2.px-4.bg-white {
  border-bottom: 2px solid #2b4680;
}

.container-fluid.py-2.px-4.bg-white h1 {
  font-weight: 700;
  font-size: 1.25rem;
  color: #2b4680;
}

.container-fluid.py-2.px-4.bg-white a {
  color: #2b4680;
}

.container-fluid.py-2.px-4.bg-white i {
  transition: color 0.3s ease;
}

.container-fluid.py-2.px-4.bg-white i:hover {
  color: #1e3259;
}

/* ============================
   Navbar Styling
============================= */
.navbar-dark {
  background-color: #2b4680 !important;
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
  color: #fff;
  font-weight: 600;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
  color: #a3b9ff;
}

.navbar-dark .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.dropdown-menu .dropdown-header {
  font-weight: 700;
  font-size: 1rem;
  color: #2b4680;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 0.75rem;
}

/* Larger dropdown min-width */
.dropdown-menu[style] {
  min-width: 400px !important;
}

.dropdown-item {
  font-weight: 500;
  color: #212529;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #e2e8ff;
  color: #2b4680;
}

/* ============================
   Container and Headings
============================= */
.container {
  max-width: 1200px;
  margin-top: 40px;
}

h4.fw-bold,
.status-title {
  color: #2b4680;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

/* ============================
   Dashboard Image and Overlay Text
============================= */
.dashboard-image-container {
  position: relative;
  max-width: 1200px;
  margin: 20px auto 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dashboard-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  user-select: none;
}

.overlay-text {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 10px 18px;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 10px;
  max-width: 90%;
  line-height: 1.3;
  user-select: none;
}

/* ============================
   Floating Button Group on Image
============================= */
.button-group-floating {
  position: absolute;
  bottom: 20px;
  left: 15px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 10;
}

.button-group-floating a {
  background-color: #2b4680;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 2px 3px 8px rgba(43, 70, 128, 0.5);
  transition: background-color 0.3s ease;
  user-select: none;
}

.button-group-floating a:hover {
  background-color: #1e3259;
}

/* ============================
   Status Section
============================= */
.status-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px auto 15px;
  max-width: 1200px;
  padding-left: 15px;
  color: #2b4680;
}

.status-card {
  max-width: 400px;
  margin: 0 auto 50px;
  padding: 30px 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  font-weight: 600;
  color: #2b4680;
  user-select: none;
}

.status-card img {
  max-width: 150px;
  margin-bottom: 15px;
}

/* ============================
   Profil Anda Section - Buttons Grid
============================= */
.profile-buttons {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.profile-buttons h4.status-title {
  margin-bottom: 2rem;
  text-align: left;
}

/* Buttons inside profile */
.profile-buttons .row > .col {
  display: flex;
}

.profile-buttons .btn {
  flex: 1 1 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0f4ff;
  border: 2px solid #2b4680;
  border-radius: 0.5rem;
  color: #2b4680;
  font-weight: 600;
  padding: 1rem 1.3rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(43, 70, 128, 0.08);
  user-select: none;
  min-height: 75px;
}

.profile-buttons .btn:hover,
.profile-buttons .btn:focus {
  background-color: #2b4680;
  color: #fff;
  border-color: #1a2e59;
  outline: none;
}

.profile-buttons .btn i {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Text inside buttons */
.profile-buttons .text-content {
  max-width: 75%;
  overflow-wrap: break-word;
  white-space: normal;
  text-align: left;
}

.profile-buttons .title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.profile-buttons .subtitle {
  font-weight: 400;
  font-size: 0.85rem;
  color: #4a4a4a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ============================
   Light Blue Section
============================= */
.light-blue-section {
  background-color: #cce2ff;
  padding: 20px 40px;
  color: #2b4680;
  font-weight: 600;
  box-shadow: 1px 1px 10px rgba(43, 70, 128, 0.3);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.light-blue-section .nama-dosen {
  font-size: 1.25rem;
  font-weight: 700;
  user-select: none;
}

.light-blue-section .program-studi {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 4px;
  user-select: none;
}

.light-blue-section .dosen-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #2b4680;
  user-select: none;
}

/* ============================
   White Biodata Card
============================= */
.card.no-radius {
  max-width: 1200px;
  margin: 0 auto 60px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card.no-radius ul {
  padding-left: 0;
}

.card.no-radius ul li {
  margin-bottom: 1rem;
}

.card.no-radius ul li div:first-child {
  color: #2b4680;
  font-weight: 700;
  user-select: none;
}

.card.no-radius ul li div:last-child {
  color: #000;
  word-wrap: break-word;
  user-select: text;
}

.card.no-radius ul li div a {
  color: #2b4680;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.card.no-radius ul li div a:hover,
.card.no-radius ul li div a:focus {
  color: #1e3259;
  text-decoration: none;
}

.d-flex.justify-content-end.mt-3 {
  margin-top: 1.5rem !important;
}

/* ============================
   Edit Button
============================= */
.btn.btn-primary {
  background-color: #2b4680;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  user-select: none;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background-color: #1e3259;
  outline: none;
}

/* ============================
   Responsive Styles
============================= */
@media (max-width: 991.98px) {
  /* Navbar dropdown smaller screens */
  .dropdown-menu[style] {
    min-width: 100% !important;
  }

  .button-group-floating {
    position: static;
    justify-content: center;
    margin-top: 15px;
    gap: 15px;
  }

  .dashboard-image-container {
    margin: 20px 15px 40px 15px;
  }

  .profile-buttons .btn {
    height: 75px;
    padding: 0 15px;
    font-size: 0.95rem;
  }

  .light-blue-section {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .light-blue-section .dosen-image img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 575.98px) {
  .profile-buttons .btn {
    font-size: 0.9rem;
    padding: 0 10px;
    height: 70px;
  }

  .overlay-text {
    font-size: 1rem;
    padding: 8px 12px;
  }

  .button-group-floating a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .status-card {
    max-width: 100%;
  }
}

/* ============================
   Info Allert
============================= */
.info-alert {
  background-color: #d1e7dd; /* hijau muda bootstrap */
  border-left: 5px solid #0f5132; /* hijau gelap bootstrap */
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-radius: 0.3rem;
  flex-wrap: nowrap; /* jangan pecah ke baris baru */
  gap: 1rem;
  min-width: 0;
}

.info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #0f5132;
  font-weight: 600;
  min-width: 0;
  flex-shrink: 1;
}

.info-left div {
  white-space: nowrap;
}

.btn-pdf {
  white-space: nowrap;
  flex-shrink: 0;
}

        .modal-title {
            font-weight: 600;
            text-transform: uppercase;
        }

        /* Button kembali dan judul sejajar */
        .header-top {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            gap: 1rem;
        }

        .back-button {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            display: flex;
            align-items: center;
            font-size: 1rem;
        }

        .back-button i {
            margin-right: 6px;
            font-size: 1.25rem;
        }

        /* Card info hijau */
        .info-alert {
            background-color: #d1e7dd;
            /* hijau muda bootstrap */
            border-left: 5px solid #0f5132;
            /* hijau gelap bootstrap */
            padding: 1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            border-radius: 0.3rem;
        }

        .info-left {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #0f5132;
            font-weight: 600;
        }

        .info-left i {
            font-size: 1.5rem;
        }

  