/* Mohtawa CC Launcher v1.0.69
   Goal: true transparent logo, no painted background, scalable.
*/

:root{
  --m-orange:#F57C00;
  --m-blue:#0F9ED5;
}

.mcc-floating-btn{
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  z-index: 2147482999;

  /* IMPORTANT: no background paint */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;
  margin: 0 !important;

  width: 78px;   /* base size; JS scales */
  height: 78px;

  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Avoid any “white rectangle” effect */
  border-radius: 0 !important;
  overflow: visible !important;
}

.mcc-floating-btn:focus{
  outline: none;
}
.mcc-floating-btn:focus-visible{
  outline: 3px solid rgba(15,158,213,0.30);
  outline-offset: 4px;
  border-radius: 12px;
}

/* The actual logo image */
.mcc-floating-btn img{
  display:block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Optional text under floating icon */
.mcc-floating-text{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  margin-top:6px;
  padding:2px 8px;
  border-radius:999px;
  background: rgba(255,255,255,0.95);
  border:1px solid rgba(15,158,213,0.25);
  font-weight:700;
  font-size:12px;
  color: var(--m-blue);
  white-space:nowrap;
  line-height:1.2;
  pointer-events:none;
  box-shadow:0 4px 16px rgba(0,0,0,0.10);
}

/* Modal */
.mcc-overlay{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17,24,39,0.55);
  z-index: 2147483000;
}

.mcc-modal{
  width: min(980px, 94vw);
  height: min(780px, 88vh);
  background: #fff;
  border-radius: 14px;
  border: 2px solid var(--m-blue);
  box-shadow: 0 20px 55px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.mcc-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 2px solid var(--m-orange);
  background: #fff;
  color: var(--m-orange);
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}

.mcc-iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

@media (max-width: 768px){
  .mcc-overlay{
    align-items: stretch;
    justify-content: stretch;
    background: #fff;
    z-index: 2147483000;
  }

  .mcc-modal{
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    height: var(--mcc-viewport-height, 100dvh);
    max-height: var(--mcc-viewport-height, 100dvh);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mcc-close{
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }
}

/* Shortcode button */
.mcc-shortcode-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#fff !important;
  color: var(--m-blue) !important;
  border:2px solid var(--m-orange) !important;
  border-radius:12px !important;
  font-weight:900 !important;
  padding:10px 14px !important;
  cursor:pointer;
}
