@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: #ffffff;
    color: #333333;
}

.formbold-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;    padding: 30px;
    padding-top: 70px;
}

.formbold-form-wrapper {
    margin: 0 auto;
    max-width: 550px;
    width: 100%;
    background: #333333;
    padding: 24px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

body.light-mode .formbold-form-wrapper {
    background-color: #dbdbdb87;
}

.formbold-textarea formbold-form-label {
    display: flex;
    flex-direction: column-reverse;
}

.m-6 {
    margin-bottom: 6px !important;
}

.formbold-form-input {
    width: 100%;
    padding-bottom: 10px;
    border: none;
    border-bottom: 1px solid #ffffff;
    background: #333333;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    resize: none;
    transition: border-color 0.3s ease;
}

body.light-mode .formbold-form-input {
    background-color: #ffffff;
    color: #333333;
    border-bottom-color: #333333;
}

.formbold-form-input::placeholder {
    color: #888888;
}

.formbold-form-input:focus {
    border-color: #6A64F1;
}

.formbold-form-label {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    display: block;
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

body.light-mode .formbold-form-label {
    color: #333333;
}

body.light-mode h1 {
    color: #333333;
}

body.dark-mode h1 {
    color: #ffffff;
}

body.light-mode h2 {
    color: #333333;
}

body.dark-mode h2 {
    color: #ffffff;
}

.formbold-form-input:focus + .formbold-form-label {
    color: #6A64F1 !important;
}


.formbold-btns {
    font-size: 16px;
    border-radius: 5px;
    padding: 12px 25px;
    border: none;
    font-weight: 500;
    background-color: transparent;
    color: white;
    cursor: pointer;
    margin-top: 25px;
    transition: box-shadow 0.3s ease;
}

.formbold-btns:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-btn {
    font-size: 16px;
    border-radius: 5px;
    padding: 12px 25px;
    border: none;
    font-weight: 500;
    background-color: #6A64F1;
    color: white;
    cursor: pointer;
    margin-top: 25px;
    transition: box-shadow 0.3s ease;
}

.formbold-btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.theme-switch__btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.theme-switch__btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

body.light-mode .theme-switch__btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.theme-switch__btn--dark {
    color: #ffffff;
}

.theme-switch__btn--light {
    color: #333333;
}

.theme-switch__icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.p-10 {
    padding: 10px;
}

#id_amount::placeholder {
    font-family: monospace !important;
}


.loader-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 82%);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid;
    background: rgba(255, 255, 255, 0.2);
    border-color: transparent #FFF #FFF transparent;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s ease-in-out infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    border: 12px solid;
    border-color: transparent #FF3D00 #FF3D00 transparent;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes progress-animation {
    0% {
        width: 0%;
    }
    100% {
        width: %;
    }
}

@keyframes glow-animation {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.9);
    }
}

.mt-0 {
    margin-top: 0 !important;
}
