@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600;1,700&amp;display=swap");

#tw-body {
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
        "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;

    display: flex;
    background: #f1f1f1;
    color: #253050;
    padding: 68px 24px;
}

.tw-box-wrapper {
    margin: auto;
    box-shadow: 0 4px 14px rgb(136 151 183 / 15%);
    border-radius: 12px;
    background-color: #fff;
    padding: 40px 24px;
    max-width: 440px;
}

.tw-logo {
    background: url(../img/askly_logo.svg) no-repeat center center;
    background-size: contain;
    background-color: #fff;
    height: 42px;
    margin-bottom: 42px;
}

#tw-form {
    display: flex;
    flex-direction: column;
    min-width: 320px;
}

#tw-form input {
    border: 1px solid #ced4da;
    margin-bottom: 24px;
    font-family: inherit;
}

#tw-form label {
    font-size: 14px;
    margin-bottom: 8px;
}

#tw-form button {
    color: #fff;
    background-color: #412b82;
    border-color: #3c2878;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 6px;
    margin: auto;
    width: 82px;
    cursor: pointer;
}

.tw-extra-info {
    margin-top: 36px;
    color: #333e7a;
}

.tw-extra-info a {
    color: #412b82;
}

.tw-success {
    color: #46b450;
    text-align: center;
}

.tw-error {
    color: #ca4a1f;
    text-align: center;
}



#tw-advanced-options {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

#tw-advanced-options label {
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
}

#tw-advanced-options label:first-child {
    margin-top: 0;
}

#tw-advanced-options input[type="number"],
#tw-advanced-options textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 16px;
}

#tw-advanced-options input[type="checkbox"] {
    margin-right: 8px;
    margin-bottom: 16px;
}
 

/* Advanced Options Toggle Button */
.tw-toggle-button {
    display: flex;
    background: transparent;
    margin-left: auto;
    margin-top: -16px;
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
    width: fit-content;
}

.tw-toggle-button:hover {
    background: #e9ecef;
}

.tw-toggle-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tw-cog-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.tw-toggle-button.active .tw-cog-icon {
    transform: rotate(90deg);
}