:root {
  /* Previous theme (for quick revert)
     --theme-primary: #078268;
     --theme-primary-dark: #045847;
     --theme-primary-darker: #056954;
     --theme-secondary: #71E1CC;
     --theme-secondary-dark: #4ac6ae;
     --theme-secondary-darker: #3fb09a;
     --theme-primary-rgb: 7, 130, 104;
     --theme-secondary-rgb: 113, 225, 204;
  */

  /* Login palette (current global theme) */
  --theme-primary: #667eea;
  --theme-primary-dark: #764ba2;
  --theme-primary-darker: #5f3b84;
  --theme-secondary: #9a8cdb;
  --theme-secondary-dark: #7f6cc7;
  --theme-secondary-darker: #6b59b3;
  --theme-primary-rgb: 102, 126, 234;
  --theme-secondary-rgb: 154, 140, 219;

  --primary: var(--theme-primary);
  --secondary: var(--theme-secondary);
  --success: var(--theme-primary);
  --info: var(--theme-secondary);
  --link-color: var(--theme-primary);
  --link-hover-color: var(--theme-primary-dark);
}

.fab-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
      z-index: 1000;
    }

    .fab-options {
      display: none;
      flex-direction: column;
      gap: 10px;
    }

    .fab-btn {
      background-color: var(--theme-primary);
      color: white;
      border: none;
      border-radius: 50%;
      width: 55px;
      height: 55px;
      font-size: 22px;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0,0,0,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s;
      position: relative;
    }

    .fab-btn:hover {
      transform: scale(1.1);
    }

    .whatsapp { background-color: #25D366; }
    .email { background-color: #000000; }

    /* Glow + pulse */
    @keyframes pulse-glow {
      0% { transform: scale(1); box-shadow: 0 0 5px rgba(var(--theme-primary-rgb), 0.6); }
      50% { transform: scale(1.1); box-shadow: 0 0 5px rgba(var(--theme-primary-rgb), 0.9); }
      100% { transform: scale(1); box-shadow: 0 0 5px rgba(var(--theme-primary-rgb), 0.6); }
    }
    .pulse {
      animation: pulse-glow 2s infinite;
    }

    /* Label (always visible) */
    .label {
      background-color: #000;
      color: #fff;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 14px;
      white-space: nowrap;
      position: absolute;
      right: 70px;
      top: 50%;
      transform: translateY(-50%);
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      font-weight: 500;
      transition: opacity 0.5s ease-in-out;
    }
.form{
  border: 2px dashed var(--theme-primary);
  position: relative;
  top: 50%;
  margin-top:50px;
  width: 100%;
  height: 200px;
  
}
.form p{
  width: 100%;
  text-align: center;
  line-height: 50px;
  font-family: Arial;
}
.form input{
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  outline: none;
  opacity: 0;
  margin-left:-50%;
  background:red;
}
.selection{
    margin:5px;
    cursor:pointer;
}
.selection i{
  color: var(--theme-primary);
    padding-bottom:5px;
}
#result{
    width:100%;
}
.thumbnail{
    float:left;
    width: 100px;
    margin: 10px;    
}
.dt-button{
    border:none;
    padding: 6px 10px;
    background-color:#e0e0e0;
}
.form-control:focus {
  border-color: var(--theme-primary); /* your primary brand color */
  box-shadow: 0 0 0 0.2rem rgba(var(--theme-primary-rgb), 0.25); /* subtle shadow in your color */
}
.btn-primary{
  background-color: var(--theme-primary);
  border-color: var(--theme-primary);
}
.btn-primary:hover{
  background-color: var(--theme-primary-dark);
  border-color: var(--theme-primary-dark);
}
.btn-primary:active{
  background-color: var(--theme-primary-darker);
    border-color: var(--theme-primary);
}
.btn-primary .active{
    background-color: var(--theme-primary-darker);
    border-color: var(--theme-primary);
}
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary.active:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--theme-primary-rgb), 0.5) !important;
  background-color: var(--theme-primary-darker) !important;
  border-color: var(--theme-primary) !important;
}
.border-left-primary {
    border-left: .25rem solid var(--theme-primary) !important;
}
.bg-primary { background-color: var(--theme-primary) !important; }
.text-primary { color: var(--theme-primary) !important; }
.border-primary { border-color: var(--theme-primary) !important; }

/* Sidebar Theme Overrides */
.sidebar,
#sidebar {
  background-color: var(--theme-primary) !important;
}

.sidebar .sidebar-brand,
.sidebar .sidebar-brand:hover {
  background-color: var(--theme-primary) !important;
}

.sidebar .sidebar-heading {
  color: rgba(255, 255, 255, 0.7);
}

.sidebar .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.sidebar .nav-item .nav-link:hover {
  background-color: rgba(var(--theme-primary-rgb), 0.2);
  color: #ffffff;
}

.sidebar .nav-item.active .nav-link {
  background-color: rgba(var(--theme-primary-rgb), 0.25);
  color: #ffffff;
}
/* Secondary Buttons */
.btn-secondary {
  background-color: var(--theme-secondary);
  border-color: var(--theme-secondary);
}
.btn-secondary:hover {
  background-color: var(--theme-secondary-dark); /* slightly darker */
  border-color: var(--theme-secondary-dark);
}
.btn-secondary:active {
  background-color: var(--theme-secondary-darker); /* deeper shade */
  border-color: var(--theme-secondary);
}
.btn-secondary .active {
  background-color: var(--theme-secondary-darker);
  border-color: var(--theme-secondary);
}

/* Secondary Utilities */
.border-left-secondary {
  border-left: .25rem solid var(--theme-secondary) !important;
}
.bg-secondary { background-color: var(--theme-secondary) !important; }
.text-secondary { color: var(--theme-secondary) !important; }
.border-secondary { border-color: var(--theme-secondary) !important; }
.btn-secondary:focus,
.btn-secondary:active:focus,
.btn-secondary.active:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--theme-secondary-rgb), 0.5) !important;
  background-color: var(--theme-secondary-darker) !important;
  border-color: var(--theme-secondary) !important;
}
.btn-success {
  background-color: var(--theme-secondary-darker);
  border-color: var(--theme-primary);
}
.btn-success:hover {
  background-color: var(--theme-primary-darker); /* darker shade */
  border-color: var(--theme-primary-darker);
}
.btn-shadow:hover {
  color:white;
  box-shadow: 0 0 8px rgba(var(--theme-primary-rgb), 0.5);
}
.btn-link{
    color: var(--theme-primary);
}
.btn-link:hover {
  color: var(--theme-primary);
}
.btn-link:active {
  color: var(--theme-primary);
}
.btn-link:focus,
.btn-link:active:focus,
.btn-link.active:focus {
  color: #078268;
}
input[type=checkbox], input[type=radio]{
    accent-color: #078268;
}

/* Sticky Footer - Push footer to bottom */
html {
  height: 100%;
}

body#page-top {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#wrapper {
  display: flex;
  flex: 1;
  min-height: 100%;
}

#wrapper #content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#wrapper #content-wrapper #content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

footer.sticky-footer {
  flex-shrink: 0;
  margin-top: auto;
}