.mb-shortlink {
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.mb-shortlink .invalid-feedback {
    margin-bottom: 16px;
}

#custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    background: #B5FFAD;
    opacity: 0.8;
    transition: transform 0.1s ease; /* Smooth movement */
}

.bg-cursor {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #B5FFAD;
    filter: blur(40px);
    opacity: 0.8;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

#myVideo {
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 1);
}

.blur {
    position: absolute;
    width: 243px;
    height: 243px;
    background: #B5FFAD;
    filter: blur(250px);
    pointer-events: none;
}

.blur:nth-child(1) {
    left: -121px;
}

.blur:nth-child(2) {
    right: -121px;
    bottom: 0;
}

.mb-shortlink .main-container {
    max-width: 952px !important;
}

.mb-shortlink .header-container {
    padding-top: 66px;
    padding-bottom: 60px;
}

.mb-shortlink .header-container h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    background: linear-gradient(180deg, #7ADF00 0%, #488500 100%);
    padding-bottom: 3px;
    margin-bottom: 24px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mb-shortlink .header-container .text-description {
    font-size: 20px;
    padding: 0 90px;
    font-weight: normal;
    line-height: 30px;
    letter-spacing: 1px
}

.mb-shortlink .short-input-container {
    padding-left: 64px;
    padding-right: 64px;
    min-height: 130px;
}

.btn-primary {
    border-radius: 12px;
    background-color: #F2FFED;
    border: none !important;
}

.btn-primary:active {
    background-color: #ddfed0 !important;
}

.btn-primary:hover {
    background-color: #ddfed0 !important;;
}

.btn-primary:focus {
    background-color: #ddfed0 !important;;
}

.btn-primary:visited {
    background-color: #ddfed0 !important;;
}

.btn-primary:disabled {
    background-color: #F8F8F8 !important;;
}

.btn-send:disabled svg path {
    fill: #B9B9B9;
}

.btn-copy:disabled svg path {
    stroke: #B9B9B9;
}

.btn-outline-primary {
    border: 1px solid #5BB946 !important;
    background-color: white !important;
}

.btn-outline-primary:active {
    background-color: white !important;
}

.btn-outline-primary:hover {
    background-color: white !important;;
}

.btn-outline-primary:focus {
    background-color: white !important;;
}

.btn-outline-primary:visited {
    background-color: white !important;;
}

.btn-outline-primary:disabled {
    border: 1px solid #F8F8F8 !important;
    background-color: white !important;;
}

.btn-send:disabled svg path {
    fill: #B9B9B9;
}

.btn-copy:disabled svg path {
    stroke: #B9B9B9;
}

.copy-success-message {
    position: absolute;
    border: 0.4px solid #66BB45;
    border-radius: 50px;
    width: max-content;
    padding: 0px 12px;
    top: -37px;
    right: 3px;
    background: white;
    z-index: 1;
    height: 32px;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms ease-in-out;
}

.input-copy-message {
    top: -24px;
    left: 40%;
}

.btn-qr-code:disabled svg path {
    fill: #B9B9B9;
}

.btn-refresh:disabled svg path {
    stroke: #B9B9B9;
}

.input-border {
    border: 1px solid #A5A5A5;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    position: relative;
    padding: 0 24px 0 0;
    background-color: white;
}

.input-border .btn {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.input-border.is-valid {
    border-color: #66BB46;
    box-shadow: 0 0 0 0.2rem #66bb463d;
}

.input-border input {
    border: none;
    padding: 25px 39px 26px 32px;
    font-size: 18px;
}

.input-border input::placeholder {
    color: #C0C0C0;
}

.input-border input:read-only {
    cursor: pointer;
}

.input-border span {
    padding: 0.5rem 0.75rem;
}

.input-border:focus-within {
    border-color: #66BB46;
    box-shadow: 0 0 0 0.2rem #66bb463d;
}

.input-border:focus-within *:focus {
    box-shadow: none;
}

.short-input-container .input-message {
    word-wrap: break-word !important;
    word-break: break-word !important;
    color: #66BB45;
    font-size: 16px;
    margin-top: 16px;
    font-weight: 500;
    display: none;
}

.short-input-container .valid-feedback {
    word-wrap: break-word !important;
    word-break: break-word !important;
    color: #66BB45;
    font-size: 16px;
    margin-top: 16px;
    font-weight: 500;
}

.short-link-option {
    width: 100%;
}

.short-link-option .dropdown-menu {
    box-shadow: 0 0 1rem rgba(0, 0, 0, .1);
    border: 0;
}

.short-link-option button.dropdown-toggle {
    flex: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.short-link-option button.dropdown-toggle::after {
    visibility: hidden;
}

.short-link-option .dropdown-menu .dropdown-item {
    background-color: transparent;
    border: 0;
    clear: both;
    color: #262626;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-weight: 400;
    padding: 0.5rem 1.5rem;
    text-align: inherit;
    white-space: nowrap;
    width: 100%;

}

.short-link-option .dropdown-menu .dropdown-item svg {
    width: 16px;
    height: 16px;
}

.short-link-option .dropdown-menu .dropdown-item:hover {
    background-color: rgba(123, 96, 251, .05);
    color: #191919;
    text-decoration: none;
}

.border-bottom {
    border-bottom: 1px solid #ededed;
}

.mb-btn-mobile-groups {
    display: none;
}


.dark-mode-switch {
    display: inline-block;
}

.dark-mode-switch input {
    display: none;
}

.dark-mode-switch label {
    display: block;
    width: 60px;
    height: 30px;
    padding: 3px;
    border-radius: 15px;
    border: 2px solid #A3DB23;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.dark-mode-switch label::after {
    content: "";
    display: inherit;
    width: 20px;
    height: 20px;
    border-radius: 12px;
    background-color: #A3DB23;
    transition: 0.3s;
    background-image: url('/assets/img/short-link/moon-outline-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.dark-mode-switch input:checked ~ label {
    border-color: #A3DB23;
    background: #A3DB23;
}

.dark-mode-switch input:checked ~ label::after {
    translate: 30px 0;
    background-color: white;
    background-image: url('/assets/img/short-link/sun-outline-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.dark-mode-switch input:disabled ~ label {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1250px) {
    main {
        margin-top: unset;
    }

    .dark-mode-switch {
        margin-top: 55px;
    }
}

@media (min-width: 768px) {
    .border-right-md {
        border-right: 1px solid #ededed;
    }
}

@media (max-width: 767px) {
    .border-bottom-xs {
        border-bottom: 1px solid #ededed;
    }

    .mb-shortlink .header-container {
        padding-bottom: 28px;
    }

    .mb-shortlink .header-container h1 {
        font-size: 28px;
        font-weight: 700;
        line-height: 48px;
    }

    .mb-shortlink .header-container .text-description {
        padding: 0 28px;
        font-size: 14px;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: 1px;
    }

    .mb-shortlink .short-input-container {
        padding-left: unset;
        padding-right: unset;
        min-height: 205px;
    }

    .input-border .btn-groups {
        display: none !important;
    }

    .input-border input {
        padding: 12px 39px 12px 28px;
        font-size: 16px;
        line-height: 24px;
    }

    .mb-btn-mobile-groups {
        display: block;
    }

    .blur {
        width: 124px;
        height: 124px;
    }

    .blur:nth-child(1) {
        left: -70px;
    }

    .blur:nth-child(2) {
        right: -70px;
        bottom: 150px;
    }
}
