:root {
    --sidebar-bg: #1e293b;
    --main-bg: #f1f5f9;
    --primary-blue: #2563eb;
    --success-green: #22c55e;
    --danger-red: #ef4444;
    --card-white: #ffffff;
    --text-muted: #64748b;
}

* {
  margin: 0;
  padding: 0;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url("src/images/campus.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
}

/* Page load animation */
.page-load {
  opacity: 0;
}

.page-loaded .page-load {
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

nav {
  display: flex;
  padding: 0% 6%;
  justify-content: space-between;
  align-items: center;
}

img {
  display: flex;
  width: 230px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 10px 35px;
  position: relative;
}

.nav-links ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

/* LOGOUT BUTTON */

.logout-btn{
    background:#ff6868;
    color:white !important;
    padding:8px 11px;
    border-radius:6px;
    font-weight:500;
    font-size: 12px;
    transition:0.3s;
}

.logout-btn:hover{
    background:#b91c1c;
    transform:scale(1.05);
}

.text-box {
  width: 87%;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 50px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.text-box p {
  margin: 0 0 80px;
  color: #fff3f3;
  font-size: 19px;
  font-family: "Poppins", sans-serif;
}

#clock{
  text-align: center;
  justify-content: center;
  color: #fff;
  font-size: 50px;
  margin: 0 auto;
}

/* MODAL BACKDROP */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(109, 109, 109, 0.203);
  justify-content: center;
  align-items: center;
}

.modal .active {
  display: flex;
}

/* Disable page scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* MODAL BOX */
.modal-content {
  background: #ffffff;
  width: 500px;
  max-width: 95%;
  border-radius: 12px;
  padding: 25px 30px;
  margin-top: 30px;
  margin-left: 20px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0);
  animation: fadeIn 0.3s ease-in-out;
}

/* CLOSE BUTTON */
.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: 0.2s;
}
.modal .close:hover {
  color: #000;
}

/* HEADER */
.modal h2 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}

/* FORM GROUPS */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
  color: #444;
  font-size: 14px;
}

.form-group input,
.form-group select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #3cb371;
  box-shadow: 0 0 5px rgba(60,179,113,0.3);
}

/* GRID LINES */
.model-line {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
  margin-bottom: 10px;
}

.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* BUTTON */
.btn {
  padding: 10px 25px;
  border: none; 
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}
.btn-success {
  background-color: #3cb371;
  color: #fff;
}
.btn-success:hover {
  background-color: #36a364;
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* CLOSE BUTTON */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* INPUT STYLING */
.modal-content input {
  width: 95%;
  padding: 8px;
  margin-bottom: 5px;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  border: 1px solid #ffffff;
  padding: 12px 25px;
  font-size: 15px;
  border-radius: 5px;
  background: transparent;
  position: relative;
}

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 0.8s;
}


nav .fa {
  display: none;
}

@media (max-width: 700px) {

  .header .img {
    width: 100px;
  }
  .text-box h1 {
    font-size: 35px;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: fixed;
    background: #f44336;
    height: 100vh;
    width: 200px;
    max-width: 100%;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.3s;
  }

  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }
}


/* ----policy---------- */

.policy {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 30px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

.policy-col p {
  color: #8b8b8b;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.policy-col {
  flex-basis: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

.policy-intro p {
  color: #555;
  margin-top: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h3 {
  text-align: center;
  font-weight: 800px;
  color: #000000;
  margin: 10px 0;
  font-size: 25px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.policy-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  transform: translateY(-10px);
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .policy-col:hover {
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.4);
    border-radius: 0px;
    transform: translateX(0px);
  }
}

/* -------------campus----------------- */

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.campus p {
  margin-top: 25px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #555;
}

.campus-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.campus-col img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: all ease 0.5s;
  scale: 1.1;
}

.campus-col:hover img {
  scale: 1;
}

.layer {
  background: (226, 0, 0, 0.7);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(226, 0, 0, 0.7);
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}


/* ---------footer------------ */

.footer-modern{
    background:#f8f9fa;
    color:#444;
    font-family:'Poppins',sans-serif;
}

/* Social section */

.footer-social{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    border-bottom:1px solid #ddd;
    font-size:18px;
}

.footer-social-right a{
    margin-left:14px;
    color:#555;
    font-size:16px;
    transition:0.3s;
}

.footer-social-right a:hover{
    color:#2563eb;
    transform:scale(1.2);
}

/* Footer links */

.footer-links{
    padding:50px 8%;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:35px;
}

.footer-col h6{
    font-size:22px;
}

.footer-col h3{
    font-size:22px;
    margin-bottom:18px;
}

.footer-col p{
    font-size:16px;
    line-height:1.7;
}

.footer-col a{
    text-decoration:none;
    color:#555;
}

.footer-col a:hover{
    color:#2563eb;
}


/* SIGN UP BUTTON IN FOOTER */

.footer-signup{
    padding:8px 16px;
    background:#5082ee;
    color:#fff !important;
    border-radius:6px;
    font-size:12px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:6px;
    transition:0.3s;
}

.footer-signup:hover{
    background:#406cfe;
    transform:scale(1.05);
}
/* Copyright */

.footer-copy{
    text-align:center;
    padding:18px;
    background:rgba(0,0,0,0.05);
    font-size:16px;
}

@media screen and (max-width: 700px) {
  .footer-intro p {
    font-size: 14px;
    text-align: center;
    margin-right: 25px;
    margin-left: 25px;
  }
}


/* --------------------about us page--------------------------------- */

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(src/images/campus.jpg);
  background-position: auto;
  background-size: cover;
  text-align: center;
  margin-top: 0 auto;
}

.sub-header h1 {
  margin-top: 30px;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

.about-us {
  width: 90%;
  margin: auto;
  padding-top: 80px;
  padding-bottom: 50px;
}

.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}

.about-col img {
  width: 100%;
}

.about-col h1 {
  padding-top: 0;
  margin-top: 45px;
}

.about-col p {
  padding: 15px 0 25px;
  color: #8b8b8b;
  line-height: 25px;
}

.red-btn {
  border: 1px solid #f44336;
  background: transparent;
  color: #f44336;
}

.red-btn:hover {
  color: #fff;
}

@media (max-width: 700px) {
  .sub-header {
    height: 50vh;
    width: 100%;
    background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
      url(src/images/about_us.jpg) center/cover;
    /* Center and cover the background */
    text-align: center;

  }

  .about-col img {
    display: none;
  }

  .about-col {
    flex-basis: 48%;
    padding: 0px 2px;
  }

  .about-us {
    width: 80%;
    margin: auto;
    padding-top: 0px;
    padding-bottom: 50px;
  }
}

/* -------------------blog post-------------------- */

.blog-content {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.blog-left {
  flex-basis: 65%;
}

.blog-left img {
  width: 100%;
}

.blog-left h1 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.blog-left p {
  color: #8b8b8b;
  padding: 0;
}

.blog-right {
  flex-basis: 32%;
}

.blog-right h3 {
  background: #f44336;
  color: #fff;
  padding: 7px 0;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.blog-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  border-bottom: #8b8b8b 1px solid;
  padding: 8px;
  box-sizing: border-box;
}

.blog-right div:hover {
  background-color: #8b8b8b;
  border: #000 1px solid;
  color: #000;
  scale: 1.1;
  transition: 0.3s;
}

.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}

.comment-box h3 {
  text-align: left;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
}

.comment-form button {
  margin: 10px 0;
}

@media (max-width: 700px) {
  .sub-header h1 {
    font-size: 24px;
  }

  .blog-left img {
    display: none;
  }

  .blog-content {
    width: 80%;
    margin: auto;
    padding: 0px 0;
  }

  .blog-right {
    order: 1;
  }

  .blog-left {
    order: 2;
  }

  .blog-left h1 {
    color: #222;
    font-size: 30px;
    font-weight: 600;
    margin: 30px 0;
  }
}

/* ---------------------contact us-------------------- */

.location {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.location iframe {
  width: 100%;
}

.contact-us {
  width: 80%;
  margin: auto;
}

.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .fa {
  font-size: 28px;
  color: #f44336;
  margin: 10px;
  margin-right: 30px;
}

.contact-col div p {
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-col div h5 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.row {
  margin-left: 10px;
  display: flex;
}

/*---------- records -------*/
body {
  margin: 0;
  background: #f5f7fb;
  color: #333;
}

header {
  background: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

header h1 {
  color: #4f6cff;
  font-size: 22px;
}

header button {
  border: none;
  background: #f1f2f9;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.container {
  padding: 24px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
}

/* CARD */
.card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

/* HEADER */
.table-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px;
}

.table-header h3{
  font-size:18px;
  color:#333;
}

/* SEARCH */
.table-search{
  padding:8px 12px;
  border:1px solid #e3e3e3;
  border-radius:8px;
  font-size:13px;
  outline:none;
  transition:0.2s;
}

.table-search:focus{
  border-color:#4f6cff;
  box-shadow:0 0 0 2px rgba(79,108,255,0.1);
}

/* TABLE */
.table-wrapper{
  overflow-x:auto;
}

.modern-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.modern-table thead{
  background:#f8f9fc;
}

.modern-table th{
  text-align:left;
  padding:12px;
  color:#262626;
  font-weight:600;
  border-bottom:1px solid #eee;
}

.modern-table td{ 
  padding:12px;
  border-bottom:1px solid #f1f1f1;
}

.modern-table tbody{
   font-size: 15px;
}

/* HOVER */
.modern-table tbody tr:hover{
  background:#f9faff;
}

/* ACTION BUTTONS */
.actions button{
  border:none;
  background:#f1f3f9;
  padding:6px 10px;
  border-radius:6px;
  cursor:pointer;
  margin-right:5px;
  transition:0.2s;
}

.actions button:hover{
  background:#e4e8ff;
}

.table-footer{
  margin-top:15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
}

/* RIGHT SIDE (pagination + rows select) */
.table-footer-right{
  display:flex;
  align-items:center;
  gap:12px;
}

/* PAGINATION */
.pagination{
  display:flex;
  gap:6px;
}

.pagination button {
  border:1px solid #e3e3e3;
  background:#fff;
  padding:6px 10px;
  border-radius:6px;
  cursor:pointer;
}

#numericPages {
    display: flex;
    gap: 4px;
}

.pagination .active{
  background:#4f6cff;
  color:#fff;
  border:none;
}

/* ROW SELECT */
.rows-select{
  padding:6px 10px;
  border-radius:6px;
  border:1px solid #ddd;
  cursor:pointer;
}

.new-row{
  animation: highlightRow 2s ease;
}

/* status */

.status-in {
    color: white;
    background-color: #86fd8a; /* Green */
    padding: 2px 6px;
    border-radius: 4px;
}

.status-out {
    background-color: #ff6e64; /* Red */
    color: rgb(255, 255, 255);
    padding: 2px 6px;
    border-radius: 4px;
}

.status-warning {
    background-color: #fff27e; /* Yellow */
    color: rgb(255, 255, 255);
    border-radius: 4px;
}


@keyframes highlightRow{
  0%{
     background:#eaf2ff;
  }
  100%{
    background:transparent;
  }
}

/* Cards & Layout */

main { 
    flex: 1; 
    overflow-y: auto; 
    padding: 30px; 
}
.top-cards { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr; 
    gap: 20px; 
    margin-bottom: 30px; 
}

.card-v { 
    background: var(--card-white); 
    border-radius: 8px; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); 
    overflow: hidden; 
}

.card-header { 
    padding: 15px 20px; 
    color: white; 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.blue-header { 
  background: var(--primary-blue); 
}

.teal-header { 
  background: #06b6d4; 
}

/* Form Elements */
.checkin-body { 
  padding: 25px; 
}
.input-label { 
  font-size: 15spx; 
  margin-bottom: 8px; 
}
.input-group { 
  position: relative; 
  margin-bottom: 15px; 
}
.input-group input {
  display: flex; 
  width: 90%; 
  padding: 12px 40px; 
  border: 1px solid #ddd; 
  border-radius: 6px; 
  font-size: 16px; 
}
.input-group select option {
  display: flex; 
  width: 90%; 
  padding: 12px 40px; 
  border: 1px solid #ddd; 
  border-radius: 6px; 
  font-size: 16px; 
}
.input-group i { 
  position: absolute; 
  left: 12px; 
  top: 12px; 
  color: var(--text-muted); 
}

/* Modal Background */
.modal-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.126);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

/* Modal Content Box */
.visitor-popup {
    background: white;
    margin-top: 22px;
    margin-left: 20px;
    width: 90%;
    max-width: 450px;
    padding:25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
      transform: translateY(-20px); 
      opacity: 0; 
    }
    to { 
      transform: translateY(0); 
      opacity: 1; 
    }
}

.visitor-popup h2 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.credential-info {
    margin: 15px 0;
    font-size: 1.1em;
}

#checkInFields select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s;
}

#checkInFields select:focus {
    border-color: #0d9488; /* Teal color matching your theme */
    outline: none;
    background-color: #fff;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#submitBtn {
    background: #27ae60;
    color: white;
    border: none;
    flex: 2;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
}

#cancelVisitor {
    background: #e74c3c;
    color: white;
    border: none;
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
}

.helper-text { 
  color: var(--text-muted); 
  font-size: 15px; 
  margin-bottom: 15px; 
}


.submit-btn { 
  width: 100%; 
  padding: 12px; 
  background: var(--primary-blue); 
  color: white; 
  border: none; 
  border-radius: 6px; 
  cursor: pointer; 
  font-weight: bold; 
}

/* Stats & Tables */
.stats-body { 
    padding: 20px; 
}
.stat-row { 
  display: flex; 
  justify-content: space-between; 
  padding: 10px 0; 
  border-bottom: 1px solid #f1f5f9; 
}
.text-success { 
  color: var(--success-green); 
}
.text-danger { 
  color: var(--danger-red); 
}

.progress-container { 
  margin-top: 20px; 
}
.progress-bar { 
  height: 10px; 
  background: #e2e8f0; 
  border-radius: 5px; 
  overflow: hidden; 
}
.progress-fill { 
  height: 100%; 
  background: var(--success-green); 
  width: 100%; 
}
.attendance-rate { 
  text-align: center; 
  font-size: 12px; 
  margin-top: 8px; 
  color: var(--text-muted); 
}

.table-card { 
  padding: 20px; 
}
table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-top: 15px; 
}
th { 
  text-align: left; 
  padding: 12px; 
  border-bottom: 2px solid #f1f5f9; 
  color: var(--text-muted); 
}
td { 
  padding: 12px; 
  border-bottom: 1px solid #f1f5f9; 
}

.status-badge { 
  padding: 4px 10px; 
  border-radius: 20px; 
  background: #dcfce7; 
  color: #166534; font-size: 12px; 
  font-weight: 600; 
}
.user-cell { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
}
.user-img { 
  width: 35px; 
  height: 35px; 
  border-radius: 50%; 
  object-fit: cover; 
  background: #ddd; 
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
    margin: 0, 10px;
    }
}


/* Toast position */
.toast-container{
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Toast design */
.toast-msg{
    width: 270px;
    height: 35px;
    padding: 10px 14px;
    margin-top: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-family: Poppins, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
    position: relative;
}

/* Toast container */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Toast message */
.toast-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    min-width: 250px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: slideIn 0.4s ease forwards;
}

.toast-text {
    flex: 1;
}

/* Icon */
.toast-icon {
    font-size: 20px;
}

/* Close button */
.toast-close {
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border: none;
    background: none;
}

/* Toast types */
.toast-success { background:#eaf7f0; border:1px solid #3cb371; color:#2e8b57; }
.toast-error   { background:#fdeeee; border:1px solid #dc3545; color:#b02a37; }
.toast-warning { background:#fff8e5; border:1px solid #ffc107; color:#b08900; }

/* Progress bar */
.toast-progress {
    height:4px;
    width:100%;
    position:absolute;
    bottom:0;
    left:0;
}
.toast-success .toast-progress{background:#3cb371;}
.toast-error .toast-progress{background:#dc3545;}
.toast-warning .toast-progress{background:#ffc107;}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}