@config "../tailwind.config.js";
@import "tailwindcss";

:root {
    --gradient-primary-50: #F7FF19;
    --gradient-secondary-50: #50CEC8;
    --gradient-secondary-100: #45DDB2;
    --gradient-primary-100: #FFCA60;
    --gradient-primary-200: #FF9934;
    --snackbar-success-background: #DDEED5;
    --snackbar-success-text: #417835;
    --nav-translate: 100%;
    --cardano-primary: #1831A0;
    --cardano-background: #FFFFFF;
}

@property --border-angle {
    inherits: false;
    initial-value: 0deg;
    syntax: '<angle>';
}

@theme {
    --animate-blink: blink 1.1s step-start infinite;
    --animate-rotate-border: rotateBorder 3s linear infinite;
    --animate-wiggle: wiggle 0.5s ease-in-out infinite;

    @keyframes wiggle {
        0%,
        100% {
        transform: rotate(-10deg);
        }
        50% {
        transform: rotate(10deg);
        }
    }

    @keyframes blink {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0; 
        }
    }

    @keyframes rotateBorder {
        to {
            --border-angle: 360deg;
          }
    }
}

* {
    font-family: "Mulish", system-ui, sans-serif;
}

body {
    touch-action: pan-x pan-y;
}

.index-module_type__E-SaG::after {
    display: none;
}

.mud-tabs-tabbar-wrapper {
    position: relative;
    border-radius: 9999px;
    max-width: max-content;
    height: 100%;
    padding: 6px 2px;
}

.mud-tabs-tabbar-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 9999px;
    padding: 1px;
    background-color: var(--mud-palette-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                  linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mud-tab-slider.mud-tab-slider-horizontal {
    height: 39px !important;
    width: 100%;
    border-radius: 9999px;
    margin: 0px 2px 3px;
    z-index: -1;  
}

.mud-tooltip-root.mud-tooltip-inline {
    direction: rtl;
}

.mud-snackbar {
    border-radius: 12px !important;
    color: var(--mud-palette-white) !important;
}

.mud-snackbar.mud-alert-filled-success {
    background-color: var(--snackbar-success-background) !important;
    color: var(--snackbar-success-text) !important;
}

.mud-snackbar .mud-snackbar-content-message {
    overflow: auto;
    max-height: 48px !important;
    font-weight: 700 !important;
}

.mud-switch-base.mud-default-text {
    color: var(--mud-palette-lines-inputs) !important;
}

#components-reconnect-modal {
    position: fixed;
    z-index: 1000;
    border-radius: 12px;
    color: var(--mud-palette-drawer-background);
    display: none;
}

#components-reconnect-modal > div {
    display: none;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: block !important;
}

#components-reconnect-modal.components-reconnect-show .show {
    display: block !important;
}

#components-reconnect-modal.components-reconnect-failed .failed {
    display: block !important;
}

#components-reconnect-modal.components-reconnect-rejected .rejected {
    display: block !important;
}

#components-reconnect-modal.components-reconnect-hide {
    display: block !important;
}

#components-reconnect-modal.components-reconnect-hide .connected {
    display: block !important;
}

@media (max-width: 554px) {
    :root {
        --nav-translate: calc((100vw - 40px - 100px) / 3);
    }
}