/* Admin Login Styles */
:root {
  --main-bg-color: rgba(140, 127, 14, 0.853);
}
/* Header HTML */
.navbar-brand {
    font-family: 'Georgia', serif;
}
.navbar-nav {
    text-align: center;
    font-size: 16px;
}
/*nav bar buttons div in header.html */
.navbar-buttons {
  display: flex;
  flex-direction: row;
  padding: 4px;
  align-items: center;
}
.navbar-buttons > * {
  padding: 4px;
}
/* Header HTML end */

/* for Each Jewelry page (eg pendants, earrings)*/
  .image-container {
      display: flex;
      flex-wrap: wrap;
 align-items: center;
  justify-content: space-around;
   /*   gap: 10px;
      margin: 20px; */
    }
  .jewelry-item {
      cursor: grab;
      border: 2px solid transparent;
      overflow: hidden;
      transition: border 0.2s;
      position: relative;
    }
    .jewelry-item.dragging {
      opacity: 0.5;
      border: 2px dashed #999;
    }
    .jewelry-item:hover {
      border: 2px solid #007bff;
    }
.jewelry-item > img {
  max-width: 200px;
  height: auto;
}
.delete-button {
      position: absolute;
      bottom: 5px;
      right: 5px;
      background-color: rgba(255, 0, 0, 0.7);
      color: white;
      border: none;
      font-weight: bold;
      font-size: 16px;
      width: 25px;
      height: 25px;
      line-height: 1;
      text-align: center;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      transition: all 0.2s ease;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

  .delete-button:hover {
    background-color: rgba(200, 0, 0, 1);
    transform: scale(1.1);
  }

/* For Organize.php */
ul {
  list-style-type: none;
}
.main-content {
  /*color: var(--main-bg-color); */
  color: black;
  text-align: center;
    
  
}
.selected {
  outline: 3px solid #ff0000;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
.organize-div {
  display:flex; 
  align-items: center;  
  justify-content: center;
  flex-wrap: wrap;
}
.organize-div form {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  justify-content: space-around;
}
.form-submit {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}
.organize-img {
  border: solid 1px rgba(--main-bg-color);
  width: 200px;
}
.delete-selected-div {
  margin-top: 20px;
  text-align: center;
}

/* Organize.php end */

/* For Dashboard.php */
.toolbar-container {
   display: flex;
   padding: 20px;
   color: rgba(--main-bg-color);
   justify-content: center; 
}
.toolbar-container > * {
  padding: 10px;
}
/* Dashboard.php end   */

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    background-color: white;
}


.card-header {
/*    background-color: #fff; */
    border-bottom: 1px solid #eee;
}

.card-header h3 {
    color: rgba(--main-bg-color);
    font-weight: 500;
}

.form-label {
    font-weight: 500;
    color: rgba(--main-bg-color);
}

.form-control {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(--main-bg-color);
}

.btn-primary {
    padding: 0.75rem;
    font-weight: 500;
    background-color: var(--main-bg-color);
    border: none;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.card-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 1rem;
}

.card-footer a {
    color: #6c757d;
    text-decoration: none;
}

.card-footer a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.alert {
    margin-bottom: 1.5rem;
}

/* Center the form vertically */
.container.py-5 {
    min-height: 100vh;
    align-items: center;
}
.footer {
    text-align: center;
    background-color: #212529;
    color: white;
    margin-top: 16px;
    padding: 40px 0;
}
.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: #f8f9fa;
    text-decoration: underline;
}
 /* Media query for screens less than 992px */
  @media (max-width: 992px) {
    .navbar-buttons .button-text {
      display: none;
    }
    .navbar-buttons {
      display:none;
    }
  }
  
  /* Media query for screens 768px and above */
  @media (min-width: 992px) {
    .navbar-buttons .button-text {
      display: inline;
    }
    #logout {
      display: none;
    }
  }
