/* .page-content{
   background-color: rgb(239, 215, 215);
} */

/* sidebar Start */
.sidebar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background-color: #212529;
  color: #a73c3c;
  padding: 1rem;
  z-index: 1030;
}

.sidebar-fixed .nav-link {
  color: #fff;
}

.sidebar-fixed .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.main-with-sidebar {
  margin-left: 240px;
}

@media (max-width: 767.98px) {
  .sidebar-fixed {
    position: fixed;
    width: 200px;
  }

  .main-with-sidebar {
    margin-left: 200px;
  }
}

/* sidebar End */

/* Profile Page Start */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6fb;
  color: #2b2b33;
}

/* Center card with sidebar space*/
.profile-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 24px;
}

/* Card */
.profile-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  padding: 32px 40px 40px;
  width: 100%;
}

/* Top header */
.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.profile-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Avatar circle */
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e2e5f5;
  overflow: hidden;
}

/* Name + email */
.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.profile-email {
  font-size: 13px;
  color: #a1a5b7;
}

/* Edit button */
.btn-edit {
  padding: 10px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background:#593196;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow 0.2s ease, transform 0.1s ease, background 0.2s ease;
}

.btn-edit:hover {
  background-color: #bc90dc;
}

/* Grid for fields */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

/* Label + value box */
.profile-field label {
  display: block;
  font-size: 12px;
  text-transform: none;
  color: #a1a5b7;
  margin-bottom: 6px;
}

.field-value {
  background: #f7f8fc;
  border-radius: 10px;
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #4b4f5c;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .profile-card {
    padding: 24px 20px 28px;
  }

  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .btn-edit {
    align-self: stretch;
    text-align: center;
    width: 100%;
  }
}

/* Profile Page End */

/* Homepage Start */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  height: 100%;
  overflow-y: auto;
  transition: width 0.3s ease;
}

.main-content {
  flex-grow: 1;
  padding: 20px;
  transition: padding-left 0.3s ease;
}

.welcome-section {
  margin-bottom: 20px;
}

.bottom-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bottom-sections .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border: none;
}

.bottom-sections .card-body {
  flex-grow: 1;
  overflow-y: auto;
}

.tally-count {
  font-family: 'abhaya libre';
  font-size: large;
  text-align: center;
}

.card-header h2,
.card-header button {
  display: inline-block;
  vertical-align: middle;
}

.add-event-container {
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
  font-size: 70%;
  border: 1px solid #ccc;
  padding: 0.25em 0.5em;
  border-radius: 3px;
  background-color: transparent;
  transition: all 0.2s ease;
}

.add-event-container:hover {
  background-color: #593196;
}

.card-header-gradient-1 {
  background: linear-gradient(135deg, #593196, #bc90dc);
  color: #ffffff;
  text-align: center;
  font-family: 'abhaya libre';
}

.card-header-gradient-2 {
  /* background: linear-gradient(135deg, #4b2787, #853b92); */
  background: linear-gradient(135deg, #593196, #bc90dc);
  color: #ffffff;
  text-align: center;
  font-family: 'abhaya libre';
}

.card-header-gradient-3 {
  /* background: linear-gradient(135deg, #6a3fb0, #d35ce0); */
  background: linear-gradient(135deg, #593196, #bc90dc);
  color: #ffffff;
  text-align: center;
  font-family: 'abhaya libre';
}

.card-header-gradient-4 {
  /* background: linear-gradient(135deg, #40E0D0, #68f0e2); */
  background: linear-gradient(135deg, #593196, #bc90dc);
  color: #ffffff;
  font-family: 'abhaya libre';
}

.header-font{
  font-family: 'abhaya libre';
}

/* Homepage Ends */

/* Event Registration Start */
.event-wrap {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 24px;
  background: #f5f6fb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Card */
.event-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
  padding: 32px 32px 36px;
}

/* Title */
.event-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
}

/* Alerts */
.event-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Basic alert color variations */
.event-alert-info {
  background: #e5f1ff;
  color: #1d4ed8;
}

.event-alert-success {
  background: #e6f9f0;
  color: #15803d;
}

.event-alert-error,
.event-alert-danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* Form layout */
.event-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Field block */
.event-field {
  display: flex;
  flex-direction: column;
}

/* Label */
.event-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

/* Inputs */
.event-input,
.event-field select,
.event-field textarea {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 10px 14px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  width: 100%;
}

/* Focus state */
.event-input:focus,
.event-field select:focus,
.event-field textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Error state */
.event-input.has-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

.event-error {
  min-height: 16px;
  margin-top: 4px;
  font-size: 12px;
  color: #b91c1c;
}

/* Submit button */
.event-submit {
  margin-top: 10px;
  align-self: center;
  width: 75%;
  border: none;
  border-radius: 12px;
  padding: 11px 18px;
  background: #593196;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.event-submit:hover {
  background: #bc90dc;
}

.event-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(36, 107, 253, 0.3);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .event-card {
    padding: 24px 20px 28px;
  }
}
/* Event Registration End */

/* Staff Dashboard Start */
.notification-bell {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 40px;
  height: 40px;
  text-decoration: none;
  padding: 8px;
  border-radius: 50%;
  background: rgba(89, 49, 150, 0.1);
  transition: all 0.2s ease;
  margin-left: 16px;
}

.notification-bell:hover {
  background: rgba(89, 49, 150, 0.2);
  transform: scale(1.05);
}

.bell-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.bell-body {
  display: block;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(36, 107, 253, 0.3);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: absolute;
  top: 2px;
  left: 4px;
}

.bell-clapper {
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(36, 107, 253, 0.3);
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 8px;
}

.notification-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: #e74c3c;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 20;
}

/* Staff Dashboard End */

/* Notifications Page Start */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.notification-header h1 {
    margin: 0;
    font-size: 2rem;
}

.mark-all-form {
    display: inline-block;
}

.mark-all-btn {
    background: #593196;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mark-all-btn:hover {
    background: #bc90dc;
}

.notifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-item {
    position: relative;                       
    padding: 1.25rem 3rem 1.25rem 1.25rem;    
    margin-bottom: 0.5rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #593196;
    cursor: default;                           
    transition: all 0.3s ease;                 
    opacity: 1;
    overflow: hidden;                          
}

.notification-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.notification-item:hover .delete-form {
    transform: translateX(0);                  
    opacity: 1;                                
}

.notification-item.read {
    opacity: 0.6;
    border-left-color: #a1a5b7;
}

.notification-item.read:hover {
    opacity: 0.8;
}

.delete-form {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: 0;
    transform: translateX(100%);             
    opacity: 0;                               
    transition: all 0.3s ease;               
}

.delete-btn {
    background: #f8f9fa;                      
    color: #6c757d;
    border: 1px solid #dee2e6;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.delete-btn:hover {
    background: #dc3545;                     
    color: white;
    border-color: #dc3545;
    transform: scale(1.05);
}

.notification-content {
    display: flex;
    flex-direction: column;
}

.notification-content strong {
    color: #2b2b33;
    font-size: 1rem;
}

.notification-meta {
    font-size: 0.875rem;
    color: #a1a5b7;
    margin-top: 0.25rem;
}

.notification-item.empty {
    text-align: center;
    color: #a1a5b7;
    font-style: italic;
    padding: 3rem;
}

.clear-all-btn {
    background: #bc90dc;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
    font-weight: 500;
}

.clear-all-btn:hover {
    background: #8b4de8;
}

.clear-notification-item {
    text-align: center;
    color: #28a745;
    font-style: normal;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left-color: #28a745;
}

/* Notifications Page End */

/* Floating Action Button Start */
/* Floating Feedback Button */
.feedback-fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.feedback-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #593196, #bc90dc);
    border: none;
    box-shadow: 0 8px 25px rgba(89, 49, 150, 0.4);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-fab:hover {
    /* transform: scale(1.1) rotate(90deg); */
    box-shadow: 0 12px 35px rgba(89, 49, 150, 0.6);
}

.feedback-fab svg {
    width: 28px;
    height: 28px;
}

/* Modal */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.feedback-modal-content {
    position: absolute;
    bottom: 100px;
    right: 30px;
    width: 400px;
    max-width: 90vw;
    max-height: 80vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.feedback-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #2b2b33;
}

.feedback-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #a1a5b7;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-close:hover {
    background: #f7f8fc;
    color: #593196;
}

.feedback-field {
    padding: 0 24px 20px;
}

.feedback-field label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.feedback-field input,
.feedback-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.feedback-field input:focus,
.feedback-field textarea:focus {
    outline: none;
    border-color: #593196;
    box-shadow: 0 0 0 3px rgba(89, 49, 150, 0.1);
}

.feedback-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #593196, #bc90dc);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0 24px 24px;
    transition: transform 0.2s ease;
}

.feedback-submit:hover {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .feedback-modal-content {
        right: 20px;
        left: 20px;
        bottom: 20px;
        max-height: 90vh;
    }
}
/* Floating Action Button End */