/* Enhanced Save Image dialog styles for team categories */
.save-image-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.save-image-dialog.lg-open {
    display: flex;
    justify-content: right;
    z-index: 99999;
}

.save-image-dialog .save-dialog-content {
    background: white;
    width: 480px;
    /* Increased width for team categories */
    max-width: 90%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.save-image-dialog .save-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    flex-shrink: 0;
}

.save-image-dialog .save-dialog-header h3 {
    margin: 0;
    font-family: 'Poppins';
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.save-image-dialog .close-save-dialog {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.save-image-dialog .close-save-dialog:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.save-image-dialog .save-dialog-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.save-image-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.image-thumbnail-preview {
    width: 80px;
    height: 80px;
    background-color: #f5f5f5;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.image-info-preview {
    flex-grow: 1;
    overflow: hidden;
}

.image-title-preview {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.save-image-dialog .save-options {
    margin-bottom: 20px;
    max-height: 400px;
    /* Increased for team categories */
    overflow-y: auto;
    padding-right: 4px;
}

.save-image-dialog .save-options::-webkit-scrollbar {
    width: 6px;
}

.save-image-dialog .save-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.save-image-dialog .save-options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.save-image-dialog .save-options::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.save-image-dialog .save-options p {
    margin-top: 0;
    margin-bottom: 16px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

/* Enhanced category sections */
.category-section {
    margin-bottom: 20px;
}

.category-section h5 {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}


/* Button-style radio options */
.save-image-dialog .category-option {
    margin-bottom: 8px;
}

.save-image-dialog .category-option label {
    display: block;
    position: relative;
    cursor: pointer;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.save-image-dialog .category-option label:hover {
    border-color: #26A0DA;
    background: #f8fcff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(38, 160, 218, 0.1);
}

.save-image-dialog .team-category-option label .category-owner {
    font-size: 10px;
    color: #ff9800;
    font-weight: 400;
    margin-top: 4px;
    margin-left: 4px;
}

/* Hide the default radio button */
.save-image-dialog .category-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Selected state styling */
.save-image-dialog .category-option input[type="radio"]:checked+span {
    color: white;
}

.save-image-dialog .category-option input[type="radio"]:checked~* {
    color: white;
}

.save-image-dialog .category-option label:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #26A0DA, #1984B7);
    border-color: #26A0DA;
    color: white;
    box-shadow: 0 4px 12px rgba(38, 160, 218, 0.3);
    transform: translateY(-1px);
}

.save-image-dialog .team-category-option label:has(input[type="radio"]:checked) .category-owner {
    color: rgba(255, 255, 255, 0.9);
}

/* Fallback for browsers that don't support :has() */
.save-image-dialog .category-option.selected label {
    background: linear-gradient(135deg, #26A0DA, #1984B7);
    border-color: #26A0DA;
    color: white;
    box-shadow: 0 4px 12px rgba(38, 160, 218, 0.3);
    transform: translateY(-1px);
}


.save-image-dialog .category-option.selected label span {
    color: white;
}

.save-image-dialog .team-category-option.selected label .category-owner {
    color: rgba(255, 255, 255, 0.9);
}

/* Add icon for selected state */
.save-image-dialog .category-option label::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    transition: all 0.2s ease;
}

.save-image-dialog .category-option label:hover::after {
    border-color: #26A0DA;
}

.save-image-dialog .category-option input[type="radio"]:checked+span::after,
.save-image-dialog .category-option label:has(input[type="radio"]:checked)::after,
.save-image-dialog .category-option.selected label::after {
    background: white;
    border-color: white;
}

.save-image-dialog .category-option input[type="radio"]:checked+span::before,
.save-image-dialog .category-option label:has(input[type="radio"]:checked)::before,
.save-image-dialog .category-option.selected label::before {
    content: '✓';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #26A0DA;
    font-weight: bold;
    font-size: 12px;
    z-index: 1;
}

/* Special styling for "Create new category" option */
.save-image-dialog .create-new-option label {
    border-style: dashed;
    border-color: #26A0DA;
    color: #26A0DA;
    background: #f8fcff;
}

.save-image-dialog .create-new-option label:hover {
    background: #e3f2fd;
    border-style: solid;
}

.save-image-dialog .create-new-option.selected label {
    background: linear-gradient(135deg, #26A0DA, #1984B7);
    border-style: solid;
    color: white;
}

/* New category input container */
.save-image-dialog .new-category-container {
    margin-top: 12px;
    margin-left: 0;
    padding: 0 16px;
}

.save-image-dialog #new-save-image-category-name {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    margin-bottom: 6px;
}

.save-image-dialog #new-save-image-category-name:focus {
    outline: none;
    border-color: #26A0DA;
    box-shadow: 0 0 0 3px rgba(38, 160, 218, 0.1);
}

.save-image-dialog .new-category-note {
    color: #666;
    font-size: 12px;
    font-style: italic;
    display: block;
}

.save-image-dialog .save-dialog-footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f8f9fa;
    flex-shrink: 0;
}

.save-image-dialog .cancel-save-button,
.save-image-dialog .confirm-save-image-button {
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.save-image-dialog .cancel-save-button {
    background: white;
    border-color: #ddd;
    color: #666;
}

.save-image-dialog .cancel-save-button:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #333;
}

.save-image-dialog .confirm-save-image-button {
    background: #26A0DA;
    border-color: #26A0DA;
    color: white;
}

.save-image-dialog .confirm-save-image-button:hover {
    background: #1984B7;
    border-color: #1984B7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38, 160, 218, 0.3);
}

.save-image-dialog .confirm-save-image-button:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 520px) {
    .save-image-dialog .save-dialog-content {
        width: 95%;
        margin: 20px;
    }

    .save-image-dialog .save-dialog-header,
    .save-image-dialog .save-dialog-body,
    .save-image-dialog .save-dialog-footer {
        padding: 16px;
    }

    .save-image-dialog .save-dialog-header h3 {
        font-size: 16px;
    }

    .save-image-dialog .category-option label {
        padding: 10px 12px;
        font-size: 13px;
    }

    .save-image-dialog .team-category-option label .category-owner {
        font-size: 9px;
        margin-top: 3px;
    }

    .save-image-dialog .save-dialog-footer {
        flex-direction: column;
    }

    .save-image-dialog .cancel-save-button,
    .save-image-dialog .confirm-save-image-button {
        width: 100%;
        order: 2;
    }

    .save-image-dialog .cancel-save-button {
        order: 1;
    }
}

/* =========================================
   Buttons: "Go to Article" / Save Image
   ========================================= */

/* Article link button */
.article-link-btn {
  position: absolute;
  top: 0;
  right: 10px;
  z-index: 9999;

  display: flex;              /* was declared twice; keep flex */
  align-items: center;
  gap: 6px;

  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font: 500 14px/1.5 inherit; /* shorthand: font-weight, size, line-height, family */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.article-link-btn:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.article-link-btn:hover {
  background-color: #f8f8f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.article-link-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .article-link-btn {
    top: auto;
    right: 20px;
    bottom: 20px;
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Save button wrapper */
.save-image-wrapper { position: relative; }

/* Save image button */
.save-image-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
  padding: 5px;

  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.save-image-btn:hover { opacity: 1; }

/* Icon via pseudo-element (theme icon font) */
.save-image-btn:after {
  content: "\f097";                 /* bookmark */
  font-family: "uncodeicon" !important;
  font-size: 22px;
  color: #188ece;
  display: block;
  text-align: center;
}

/* Saved state */
.save-image-btn.saved:after {
  content: "\f02e";                 /* filled bookmark */
  color: #188ece;
}

/* Variant used inside lightbox toolbar */
.lg-save-image-btn { color: #999; }
.lg-save-image-btn:hover { color: #fff; }

/* =========================================
   Tooltip
   ========================================= */
.tooltip { position: relative; display: inline-block; }

.tooltip .tooltiptext {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;

  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  width: auto;
  text-align: center;
  white-space: nowrap;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* =========================================
   Save Notifications (center pop)
   ========================================= */
.save-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999999;

  display: flex !important;
  align-items: center;

  max-width: 90%;
  padding: 12px 20px;
  border-radius: 6px;
  background: #fff;
  color: #333;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);

  opacity: 0;
  transform: translate(-50%, -50%) translateY(30px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Show/Hide with animation (single source of truth) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, -50%) translateY(30px); }
  to   { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
}
@keyframes fadeOutDown {
  from { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
  to   { opacity: 0; transform: translate(-50%, -50%) translateY(30px); }
}

.save-notification.notice-show {
  animation: fadeInUp 0.35s forwards;
}
.save-notification.notice-hide {
  animation: fadeOutDown 0.35s forwards;
}

/* Variants */
.notification-success { display: flex !important; border-left: 4px solid #188ece; }
.notification-error   { border-left: 4px solid #f44336; }

/* Icon + message */
.notification-icon {
  margin-right: 12px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;
}
.icon-success svg { fill: #188ece; width: 18px; height: 18px; display: block; }
.icon-error  svg { fill: #f44336; width: 18px; height: 18px; display: block; }

.notification-message { line-height: 1.4; padding-top: 1px; }

/* =========================================
   LightGallery toolbar tweaks
   ========================================= */
.lg-toolbar {
  overflow: visible !important;   /* define once (was duplicated) */
}

.lg-toolbar .lg-icon,
.lg-toolbar .lg-toolbar-icon {
  position: relative !important;
  display: inline-block !important;

  height: 48px;
  margin: 0 12px !important;
  padding-bottom: 38px !important;

  opacity: 0.85 !important;
  transition: opacity 0.2s ease !important;

  font-size: 24px !important;    /* icon font size */
}

.lg-toolbar .lg-icon:hover,
.lg-toolbar .lg-toolbar-icon:hover { opacity: 1 !important; }

/* Icon + label spacing */
.lg-toolbar .lg-icon svg,
.lg-toolbar .lg-toolbar-icon svg {
  width: 22px !important;
  height: 22px !important;
  margin-bottom: 5px !important;
}

/* Button labels */
.button-label {
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  display: block !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  text-align: center !important;
  opacity: 0.9 !important;
}

/* Counter */
.lg-counter {
  position: fixed !important;
  top: 30px !important;
  left: 30px !important;

  color: #fff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
}

/* Icon glyphs via the theme icon font */
.lg-toolbar .lg-save-image-btn:after { content: "\f097" !important; }  /* bookmark */
.lg-toolbar .lg-go-to-article-btn:after { content: "\f178" !important; } /* arrow */

.lg-go-to-article-btn.loading {
    pointer-events: none;
    position: relative;
}

/* .lg-go-to-article-btn.loading::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} */

/* Dropdown spacing inside LG toolbar */
.lg-dropdown .lg-icon {
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
}

/* =========================================
   Responsive: LightGallery
   ========================================= */
@media (max-width: 767px) {
  .lg-components .lg-sub-html { display: none !important; }

  .lg-toolbar {
    position: fixed !important;
    bottom: 61px !important;
    top: auto !important;
    right: 0 !important;
    left: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    padding: 8px 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    overflow: visible !important;
    transform: none !important;
    z-index: 99999 !important;
  }

  .lg-toolbar .lg-icon,
  .lg-toolbar .lg-toolbar-icon {
    margin: 0 10px !important;
    padding-bottom: 25px !important;
  }

  .lg-toolbar .lg-icon:after,
  .lg-toolbar .lg-toolbar-icon:after { font-size: 24px !important; }

  .lg-close {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 99999 !important;
  }

  .lg-outer .lg-thumb-outer { padding-top: 10px !important; }
}

@media (max-width: 480px) {
  .lg-toolbar .lg-icon,
  .lg-toolbar .lg-toolbar-icon {
    margin: 0 5px !important;
    width: 36px !important;
  }

  .lg-toolbar .lg-close { position: fixed !important; }

  .button-label {
    font-size: 9px !important;
    top: 29px !important;
  }
}



/* ===========================================
   Non-Logged-In Modal Popup Styles
   =========================================== */

/* Modal Backdrop */
.saved-images-modal-backdrop,
.mpusi-saved-images-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.saved-images-modal-backdrop.active,
.mpusi-saved-images-modal-backdrop.active {
  display: block;
  opacity: 1;
}

/* Modal Content Container */
.saved-images-modal-content,
.mpusi-saved-images-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 999999;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  padding: 30px;
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.saved-images-modal-content.active,
.mpusi-saved-images-modal-content.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Modal Inner Content */
.mpusi-modal-content {
  padding: 1em;
  text-align: center;
}

/* Close Button */
.modal-close-x {
  position: absolute;
  top: 15px !important;
  right: 15px !important;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-close-x:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
  transform: rotate(90deg);
}

/* Modal Heading */
.mpusi-modal-content h3 {
  margin: 0 0 16px;
  font-size: 22px !important;
  font-weight: 600;
  color: #333;
  font-family: 'Poppins';
  line-height: 1.2;
}

/* Modal Text */
.mpusi-modal-content p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  font-family: 'Poppins', sans-serif;
}

/* Modal Buttons Container */
.mpusi-modal-buttons {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  margin-top: 20px;
}

/* Join Now Button */
.mpusi-modal-join-button {
  display: inline-block !important;
  padding: 12px 24px;
  background-color: #188ece !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.3s ease !important;
  box-shadow: 0 2px 5px rgba(24, 142, 206, 0.15) !important;
  min-width: 200px;
  font-family: 'Poppins', sans-serif;
  border: none;
  cursor: pointer;
}

.mpusi-modal-join-button:hover {
  background-color: #1680b9;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(24, 142, 206, 0.3) !important;
  color: #fff !important;
}

/* Animation keyframes */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

/* Apply animations */
.saved-images-modal-content.active,
.mpusi-saved-images-modal-content.active {
  animation: modalFadeIn 0.3s ease forwards;
}

.saved-images-modal-content:not(.active),
.mpusi-saved-images-modal-content:not(.active) {
  animation: modalFadeOut 0.3s ease forwards;
}

/* Responsive Design */
@media (max-width: 600px) {
  .saved-images-modal-content,
  .mpusi-saved-images-modal-content {
    max-width: 90%;
    width: calc(100% - 40px);
  }

  .mpusi-modal-content {
    padding: 30px 24px 24px;
  }

  .mpusi-modal-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .mpusi-modal-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .mpusi-modal-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .mpusi-modal-join-button {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
  }

  .modal-close-x {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
}

/* Ensure modal appears above everything */
.saved-images-modal-backdrop,
.mpusi-saved-images-modal-backdrop,
.saved-images-modal-content,
.mpusi-saved-images-modal-content {
  z-index: 999999 !important;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Focus states for accessibility */
.modal-close-x:focus,
.mpusi-modal-join-button:focus {
  outline: 2px solid #26A0DA;
  outline-offset: 2px;
}