/* Page background */
body {
  
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Profile card */
.admin-profile-card {
  max-width: 700px;
  margin: 0 auto;
  border-radius:10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background-color: #2c5364;
}
.custom-bg {
  background-color: #f0f8ff; /* light blue */
}

.office-logo img{
  max-width: 80px;
  height: 80px;
  width: 80px;
  display: block;
  margin: 0 auto 15px auto;
}
/* Profile image */
.profile-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;   /* small rounded corners for a modern square look */
  border: 4px solid #bf8c00;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

.profile-img-wrapper {
  display: inline-block;
  padding: 6px;                 /* space between image and border */
  border: 4px solid #bf8c00;    /* border around the wrapper */
  border-radius: 10px;          /* match or slightly larger than image radius */
}

.profile-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;           /* keep square with rounded corners */
  display: block;
}

/* Card header text */
.admin-profile-card h4 {
  font-weight: 600;
  color: #fafafa;
}

/* Info text */
.admin-profile-card p {
  margin: 5px 0;
  font-size: 15px;
  color: #fafafa;
}
.btn-primary{
    background: #bf8c00;
}
.btn-primary:hover{
    background: #7ce5fb;
    color: #333;
}
/* Buttons */
.btn-outline-primary, .btn-outline-danger {
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  background-color: #bf8c00;
  color: #fff;
}
.btn-outline-danger:hover {
  background-color: #dc3545;
  color: #fff;
}

/* Forms inside collapse */
.card-body form {
  background-color: #e3f0f5;
  border-radius: 10px;
  padding: 20px;
}
.form-label {
  font-weight: 500;
  color: #333;
}
.profile-img {
  transition: transform 0.3s ease;
}
.profile-img:hover {
  transform: scale(1.05);
}

.card-body {
  border-radius: 10px;
}

.card-body h3 {
  font-weight: 600;
}

.card-body p {
  font-size: 15px;
}
/* Center the alert box on screen */
.alert-box {
  position: fixed;              /* stay in place even when scrolling */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;                /* make sure it sits above other elements */
  width: 400px;                 /* adjust width as needed */
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
}

/* Header, body, footer styling */
.alert-box-header {
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
  padding: 10px 15px;
}

.alert-box-body {
  padding: 15px;
  font-size: 15px;
  color: #333;
}

.alert-box-footer {
  background-color: #f9f9f9;
  padding: 10px 15px;
  text-align: right;
}

.alert-btn {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.alert-btn:hover {
  background-color: #0056b3;
}
