/* Variables */
:root {
    --border-radius: 15px;
    --border: #0a0794;
    --text-color: #000;
    --box-shadow: 0 0 2px rgba(0,56,220,1);
}

/* Wordpress Styles */
a,
a:hover,
a:focus,
a:focus-visible,
a:active {
    text-decoration: none;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    box-shadow: none;
}
input[type=checkbox]:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=radio]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, select:focus, textarea:focus {
    border-color: rgb(1, 40, 158);
    box-shadow: 0 0 0 1px rgb(1, 40, 158);
    outline: 2px solid transparent;
}
hr {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.heswork-container h2 {
    text-align: right;
    border-right: 2px solid var(--border);
    padding-right: 5px;
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 10px 0;
}
.heswork-container p {
    font-size: 14px;
    text-align: justify;
    color: var(--text-color);
    margin: 0;
    display: flex;
}

/* Recomended */
.heswork-container .recomended,
.heswork-container a.download {
    color: rgb(9, 119, 1);
}

/* Toast box */
#toast-box {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    gap: 10px;
    z-index: 9999;
    padding: 0 10px;
}
.toast {
    position: relative;
    width: 400px;
    background: #fff;
    border: 1px solid green;
    font-weight: 500;
    display: flex;
    align-items: center;
    transform: translateY(-100%);
    animation: movedown 0.5s ease-out forwards;
    color: black;
    font-size: 15px;
    min-height: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.toast.error {
    border: 1px solid red;
}
.toast.invalid {
    border: 1px solid orange;
}
@keyframes movedown {
    100% {
        transform: translateY(0);
    }
}
.toast svg {
    background: green;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    padding: 5px;
    margin: 0 20px;
    flex-shrink: 0;
}
.toast.error svg {
    background: red;
}
.toast.invalid svg {
    background: orange;
}
.toast::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: green;
    animation: anim 5s linear forwards;
}
@keyframes anim {
    100% {
        width: 0;
    }
}
.toast.error::after {
    background: red;
}
.toast.invalid::after {
    background: orange;
}
@media screen and (max-width: 999px) {
    .toast {
        width: 90vw;
        font-size: 14px;
        padding: 10px;
    }
    #toast-box {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
    }
}

/* Loader */
.heswork-container .heswork-loader {
    position: fixed;
    background-image: linear-gradient(to right, #b4b4b4, #000000b0);
    backdrop-filter: blur(7px);
    z-index: 10000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    pointer-events: none;
    opacity: 0;
}
.heswork-container .heswork-loader img {
    max-width: 100px;
    animation: rotation 0.8s infinite linear;
}
.heswork-container .heswork-loader.show-loader {
    opacity: 1;
    pointer-events: auto;
}
/* Rotation Animation Keyframes */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* button */
.heswork-container .btn-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 15px;
    gap: 5px;
}
.heswork-container .btn-area .btn {
    border: none;
    text-align: center;
    padding: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: #fff;
    transition: .3s;
    width: 100%;
    background: rgba(0,56,220,1);
}
.heswork-container .btn-area .btn:hover {
    transition: .3s;
    background: rgb(1, 30, 119);
}
.heswork-container .btn-area .btn.submit {
    background: rgb(0, 220, 7);
}
.heswork-container .btn-area .btn.submit:hover {
    background: rgb(9, 119, 1);
}
.heswork-container .btn-area .btn.red {
    background: rgb(220, 0, 0);
}
.heswork-container .btn-area .btn.red:hover {
    background: rgb(119, 1, 1);
}

/* Custom Input */
.heswork-container .input-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}
.heswork-container .input-box .input-group {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 5px;
}
.heswork-container .input-box .input-group label {
    font-size: 13px;
    color: #464646
}
.heswork-container .custom-input {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    min-width: 200px;
    min-height: 2.5rem!important;
    padding: 0 0.5rem;
    box-shadow: var(--box-shadow);
    font-size: 1rem;
}
.heswork-container .custom-input.disabled {
    background: #eee;
    border: 1px solid #eee;
}
.heswork-container .custom-textarea {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    min-width: 204px;
    min-height: 5rem!important;
    padding: 0.5rem;
    box-shadow: var(--box-shadow);
    font-size: 1rem;
}