/* General style classes */
.suredrop-opacity-0 {
    opacity: 0;
}
.suredrop-hidden {
    display: none;
}
.suredrop-visible {
    display: block;
}

/* Max width */
.suredrop-max-650 {
    max-width: 650px;
    margin: auto;
}
.suredrop-max-800 {
    max-width: 800px;
    margin: auto;
}
.suredrop-max-1000 {
    max-width: 1000px;
    margin: auto;
}
.suredrop-max-1200 {
    max-width: 1200px;
    margin: auto;
}

/* Cursor */
.suredrop-pointer {
    cursor: pointer;
}

/* Spacers */
.suredrop-spacer-20 {
    height: 20px;
}

/* Text */
.suredrop-text-center {
    text-align: center;
}
.suredrop-font-small {
    font-size: 11px;
}
.suredrop-font-med {
    font-size: 15px;
}
.suredrop-font-large {
    font-size: 18px;
}
.suredrop-text-red {
    color: red;
}
.suredrop-text-bold {
    font-weight: bold;
}

/* Margins */
.suredrop-top-margin-small {
    margin-top: 10px;
}
.suredrop-top-margin-med {
    margin-top: 30px;
}
.suredrop-top-margin-large {
    margin-top: 80px;
}
.suredrop-bot-margin-small {
    margin-bottom: 10px;
}
.suredrop-bot-margin-med {
    margin-bottom: 30px;
}
.suredrop-bot-margin-large {
    margin-bottom: 80px;
}

.suredrop-margin-20 {
    margin: 20px;
}

/* Lists */
.suredrop-no-list {
    list-style: none;
    padding: 0;
}

/* Boxed */
.suredrop-box {
    margin: auto;
    background-color: #fff;
    border: var(--suredrop-default-border);
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 15px;
}

/* Tag label */
.suredrop-tag-label {
    background-color: var(--suredrop-primary-color);
    color: #fff;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 12px;
    display: inline-block;
}
.suredrop-tag-label.tag-0 {
    background-color: var(--suredrop-primary-color);
}
.suredrop-tag-label.tag-1 {
    background-color: var(--suredrop-accent-color);
}
.suredrop-tag-label.tag-2 {
    background-color: var(--suredrop-tertiary-color);
}
/* Dynamically adjusted colors */
.suredrop-tag-label.tag-3 {
    background-color: var(--suredrop-primary-color);
    filter: brightness(1.2);
}
.suredrop-tag-label.tag-4 {
    background-color: var(--suredrop-accent-color);
    filter: brightness(1.2);
}
.suredrop-tag-label.tag-5 {
    background-color: var(--suredrop-tertiary-color);
    filter: brightness(1.2);
}
.suredrop-tag-label.tag-6 {
    background-color: var(--suredrop-primary-color);
    filter: brightness(0.8);
}
.suredrop-tag-label.tag-7 {
    background-color: var(--suredrop-accent-color);
    filter: brightness(0.8);
}
.suredrop-tag-label.tag-8 {
    background-color: var(--suredrop-tertiary-color);
    filter: brightness(0.8);
}


/* Button Container */
.suredrop-btn-container {
    display: flex; /* Flex layout for consistent spacing */
    gap: 20px; /* Adds spacing between multiple buttons */
    margin: 40px auto;
}

/* Buttons */
.suredrop-btn {
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease; /* Smooth transitions for hover effects */
    display: inline-block; /* Ensures buttons behave properly inline */
    margin: 0; /* Resets any unwanted margin */
    font-weight: 600;
}
.suredrop-btn:hover {
    filter: brightness(115%); /* Slightly brighten */
    opacity: 0.9; /* Subtle transparency */
    transform: translateY(-2px); /* Slightly lifts the button */
    box-shadow: 0px 4px 6px rgba(0, 0, 0.1, 0.1); /* Adds a gentle shadow */
}
.suredrop-btn.small {
    padding: 5px 10px;
    font-size: 12px;
}
.suredrop-btn.medium {
    padding: 12px;
    font-size: 16px;
}
.suredrop-btn.large {
    padding: 18px;
    font-size: 18px;
}
.suredrop-btn.wide {
    padding: 12px 50px;
    font-size: 16px;
}
.suredrop-btn.primary {
    background-color: var(--suredrop-primary-color);
    border: none;
    color: #fff;
}
.suredrop-btn.secondary {
    background-color: var(--suredrop-accent-color);
    border: none;
    color: #fff;
}
.suredrop-btn.outline {
    color: var(--suredrop-tertiary-color);
    border: solid 1.5px var(--suredrop-tertiary-color);
}

/* Background overlay */
#suredrop-overlay {
    position: fixed;  /* Fixed position to cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--suredrop-primary-overlay);
    z-index: 999;  /* Make sure it's behind the popup */
    display: none;
}

/* Breadcrumbs */
.suredrop-breadcrumbs {
    margin: 0 8px;
    font-size: 12px;
}

/* Profile extensions */
.suredrop-files-cancel-container {
    max-width: 650px;
    margin: auto; 
}
.suredrop-files-cancel {
    color: red;
}

/* General icons */
.suredrop-icon {
    font-size: 20px;
}
.suredrop-icon.suredrop-icon-color-blue {
    color: blue;
}
.suredrop-icon.suredrop-icon-color-black {
    color: black;
}
.suredrop-icon.suredrop-icon-color-green {
    color: green;
}
.suredrop-icon.suredrop-icon-color-red {
    color: red;
}
.suredrop-icon.suredrop-icon-color-gray {
    color: gray;
}
.suredrop-icon.bb-icon-class {
    font-size: 20px;
}
.suredrop-icon.fa-icon-class {
    font-size: 16px;
}
.suredrop-icon.admin-info {
    margin-right: 10px;
    color: #7face1;
}

/* Admin notice icon colors */
.suredrop-icon.suredrop-icon-color-admin-blue {
    color: #7face1;
}
.suredrop-icon.suredrop-icon-color-admin-green {
    color: #48a13e;
}
.suredrop-icon.suredrop-icon-color-admin-orange {
    color: #d3a83e;
}
.suredrop-icon.suredrop-icon-color-admin-red {
    color: #c5443f;
}

/* Subnav */
.suredrop-subnav {
    margin-right: 20px;
}

/* Archive */
.archive-title-container {
    margin-top: 30px;
}
.suredrop-archive-container {
    margin: 10px;
    max-width: 1400px;
    padding: 0 10px;
}
/* Signature field */
#signature-clear-button {
    max-width: 150px;
    padding: 5px;
    background-color: #fafbfd;
    color: var(--suredrop-tertiary-color);
    border-color: var(--suredrop-tertiary-color);
    font-size: 12px;
}

/* Description Checkbox */
.buddyc_description_checkbox + label {
    color: gray;
    font-size: 15px;
}

/* No Margin */
.margin-free {
    margin: 0 !important;
}
/* Hide Group Admin Menu Items */
#group-settings-groups-li,
#manage-members-groups-li,
#delete-group-groups-li {
    display: none;
}

/* On-Screen Notification Edge Color */
.bb-onscreen-notification-enable .bb-onscreen-notification .notification-list .read-item.recent-item:before {
    background: var(--suredrop-accent-color);
}

/* Forms */
.suredrop-form .description {
    color: #8F9091;
    font-size: 14px;
    margin-bottom: 10px;
}

.suredrop-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 650px;
    margin: auto;
    width: 100%
}

.suredrop-form {
    width: 100%;
}

.suredrop-form input[type="submit"]:disabled {
    background-color: gray;
    cursor: not-allowed;
}

.suredrop-form legend {
    color: var(--suredrop-primary-color);
    font-size: 18px;
}

.suredrop-form fieldset {
    border: none;
    padding: 0;
    width: 100%;
    margin: 0;
}

.no-team-available {
    font-size: 14px;
    color: gray;
}

/* Hide default checkbox */
.suredrop-form input[type="checkbox"] {
    opacity: 0;
    display: none;
}

.suredrop-form .form-group {
    padding: 15px 0;
}

.suredrop-form textarea,
.suredrop-form .form-group input,
.suredrop-form .form-group select {
    width: 100%;
}

.suredrop-form.suredrop-table-form .form-group {
    padding: 3px;
}

/* Horizontal checkboxes */
.horizontal .bp-checkbox-wrap {
    display: inline-flex; /* Align checkboxes horizontally */
    align-items: center; /* Vertically center checkbox and label */
    margin-right: 15px; /* Adds space between checkboxes */
}

/* Styling for label, optional for better alignment */
.horizontal .bp-checkbox-wrap label {
    display: inline-block;
    margin-right: 10px; /* Space between label and checkbox */
}

/* User profile */
.suredrop-form-user-profile {
    display: flex;
    align-items: center;
    border-bottom: var(--suredrop-default-border);
    padding: 20px;
    max-width: 500px;
}

.suredrop-form-user-avatar {
    margin-right: 10px;
    margin-left: 20px;
}

.suredrop-form-user-avatar img {
    border-radius: 50%;
}

.suredrop-form-user-name {
    font-weight: bold;
    color: var(--suredrop-primary-color);
}

/* File upload */
.manuscript-upload {
    max-width: 600px;
}

/* Global */
.display-none {
    display: none;
}
.max-650 {
    max-width: 650px;
    margin: auto;
}

/* Block Quote */
.wp-block-quote {
    background-color: #ffffff !important;
    border: var(--suredrop-default-border);
}
.wp-block-quote:before {
    background-color: var(--suredrop-accent-color) !important;
}

/* ALERT BAR */
.custom-alert-bar {
    background-color: var(--suredrop-primary-color);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.custom-alert-bar a {
    color: #ffffff;
    text-decoration: underline;
}

.custom-alert-bar a:hover {
    color: #e7e9ec;
}
.alert-message-icon {
    font-size: 20px;
}

/* Signature */
.suredrop-legal-signature {
    max-width: 300px;
}

.suredrop-signature-container canvas {
    margin: 10px 0;
    background-color: var(--bb-content-background-color);
    border: 1px solid var(--bb-content-border-color);
    border-radius: var(--bb-input-radius);
    box-shadow: none;
    padding: 0 12px;
    color: var(--bb-body-text-color);
}

.form-group.suredrop-signature-container .suredrop-signature-clear-button {
    background-color: #fff;
    color: gray;
    border: 1px solid gray;
    padding: 5px 10px;
    font-size: 12px;
    float: right;
}

/* Select all checkboxes button */
.suredrop-select-all {
    background-color: var(--suredrop-brand-blue);
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: background 0.3s ease-in-out;
}

.suredrop-select-all:hover {
    background-color: var(--suredrop-brand-blue-hover);
}



.suredrop-collection-meta-active {
    background-color: blue !important
}

/*-----------------------------------
Shiny button
-----------------------------------*/

.suredrop-shiny-button .wp-block-button__link,
.suredrop-shiny-button a {
  position: relative;
  display: inline-block;
  font-weight: bold;
  text-align: center;
  color: var(--suredrop-btn-text-color);
  background-color: var(--suredrop-btn-bg-color);
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.3s ease, filter 0.3s ease, box-shadow 0.2s ease; /* add transform transition */
}

.suredrop-shiny-button .wp-block-button__link:hover,
.suredrop-shiny-button a:hover {
  filter: brightness(75%);
  transform: scale(1.05); /* subtle zoom in */
}

.suredrop-shiny-button .wp-block-button__link::before,
.suredrop-shiny-button a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  30% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
