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

:root {
    --body-bg: #2c72a0;

    --text-color: #4e5f65;
    --link: #c5deff;

    --login-form-width: 500px;


    --button-bg: #60abd8;
    --post-form-width: 800px;
    /*--login-form-width: 500px;*/
    --input-bg: #fafcff;
    /*--text-color: #4e5f65;*/
    /*--link: #4699e2*/
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    min-height: 100dvh;
}
body {
    overflow: auto;
    background-color: var(--body-bg);
    background-image: url(https://app-smartq.disarea-mail.com/v2/img/bg.6f98513f.png);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Roboto", sans-serif;
    color: var(--text-color);
}
a {
    color: var(--link);
    text-decoration: none;
    &:hover {
        text-decoration: underline;
    }
}
.external-page-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    overflow: auto;
    max-height: 100dvh;
    /*margin-top: 15vh;*/
    /*margin-bottom: 10vh;*/
}

.sites-login-area {
    display: flex;
    flex-direction: column;
    gap: 3vh;
    margin-top: 3vh;
    align-items: center;
}

.sites-login-btn {
    border: 1px solid #ffffff26;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* 	line-height: 30px; */
    color: #fff;
    padding: 0.25vh 1.5vw 0.25vh 0.5vw;
    border-radius: 5px;
    transition: all 0.2s cubic-bezier(.17,.67,.63,1.28);
    position: relative;
    cursor: pointer;
    font-weight: 200;
    gap: 0.5vw;
    font-size: 16px;
    letter-spacing: 0.5px;

    background: rgba(255, 255, 255, 0.1);

}

.sites-login-btn:hover,
.sites-login-btn:active,
.sites-login-btn:focus {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
}
.sites-login-btn svg {
    width: 28px;
    height: 28px;
    color: #fff;
    transform: translateY(1px);
}
.sites-login-title {
    text-align: center;
    color: #fff;
    font-size: 18px;
    letter-spacing: 1px;
    margin-top: 2vh;
}

.sites-login-wrap {
    display: flex;
    gap: 2vw;
    flex-wrap: wrap;
    align-items: center;
    padding: 25px 5vw;
    justify-content: center;
}

.site-login-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1vh;
    align-items: center;
    cursor: pointer;
    position: relative;

}

.site-login-wrap:before {
    transition: all 0.2s cubic-bezier(.17,.67,.63,1.28);
    content: "";
    border-radius: 10px;
    inset: 55px 55px;
    pointer-events: none;
    position: absolute;
    z-index: -1;
    background: #00000008;
}

.site-login-wrap:hover:before {

    inset: -15px -15px;

}


.site-login-wrap:hover  .site-login-btn {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.site-login-btn {
    width: 173px;
    height: 121px;
    border: 1px solid #ffffff26;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s linear, transform 0.15s ease-in-out;
    overflow: hidden;
    backdrop-filter: blur(10px);

}

.site-login-btn img {
    max-width: 173px;
    max-height: 121px;
}

.site-login-wrap span {
    color: #fff;
    font-size: 17px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.15s ease-in-out
}
.site-login-wrap:hover  span {
    transform: translate(0px, 3px)
}

/*.site-login-btn:hover {*/
/*    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),*/
/*    0 10px 10px -5px rgba(0, 0, 0, 0.04);*/
/*  background: rgba(255, 255, 255, 0.15);*/
/*  transform: scale(1.05);*/
/*}*/

.sites-login-help {
    color: #fff;
    margin-top: 5vh;
    font-size: 14px;
}



/*post form*/
.post-form, .login-form {
    background: #fff;
    padding: 40px 25px 30px;
    color: var(--text-color);
    border-radius: 5px;
    width: clamp(250px, 90vw, var(--post-form-width));
    margin-top: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .03), 0 2px 2px rgba(0, 0, 0, .03), 0 4px 4px rgba(0, 0, 0, .03), 0 8px 8px rgba(0, 0, 0, .03);
}
.post-header, .login-header {
    display: flex;
    justify-content: center;
    align-items: center;
    /*border-bottom: 1px solid #e0e0e0;*/
    padding: 0 10px 10px;
    flex-wrap: wrap;
    gap: 10px;

}
.post-header a {
    white-space: nowrap;
}
.post-header-title, .login-header-title {
    font-size: 24px;
    font-weight: 400;
    color: #7E8085
}
.post-header-subtitle {
    font-size: 14px;
}
.input {
    appearance: none;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    line-height: 26px;
    border-radius: 4px;
    padding: 3px 10px;
    color: var(--text-color);
    background-color: var(--input-bg);
    box-shadow: 0 1px 3px transparent;
    color-adjust: exact;
    box-sizing: border-box;
    display: inline-block;
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.input::placeholder {
    color: #c0c1c4;
}
.input:focus {
    outline: unset;
    box-shadow: 0 0 4px var(--button-bg);
    border-color: var(--button-bg);
}
.post-title {
    margin-top: 15px;
}
.post-title .input {
    width: 100%;
    font-size: 1.3125rem !important;
    line-height: 38px !important;
    height: 38px !important;
}
.post-description {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.post-description textarea {
    width: 100%;
    font-size: 14px;
    min-height: 100px;
    max-height: 40vh;
    resize: vertical;
}
.post-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.post-email {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.post-submit, .login-submit {
    /*display: flex;*/
    /*justify-content: flex-end;*/
    /*margin-top: 20px;*/
}
.file-help {
    font-size: 14px;
    opacity: 0.6;
}
.post-files .post-btn {
    padding: 4px 20px;
    margin-top: 10px;
    font-size: 14px;
}
.post-email .input {
    width: clamp(200px, 50%, 100%);
}
.post-btn {
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: none;
    white-space: nowrap;
    line-height: 1.42857;
    border-radius: 50em;
    user-select: none;
    padding: 5px 38px;
    font-size: 16px;
    /*transition: background 0.4s linear, box-shadow 0.35s linear, color 0.4s linear;*/
    flex-shrink: 0;
    text-decoration: none;
    color: #fff;
    background-color: var(--button-bg);
    transition: all 0.2s linear;
}
.post-btn:hover {
    filter: brightness(0.95);
}
.post-btn:focus {
    box-shadow: 0 0 0 3px #d3e6fd;
}
.more-files {
    font-size: 13px;
}
[type=file] {
    background: unset !important;
    border: unset;
    font-size: 13px;
    cursor: pointer;
    line-height: 1;
    padding: 0 !important;
    box-shadow: unset !important;
    margin: 0 !important;
    appearance: none;
}
[type=file]::file-selector-button, [type=file]::-webkit-file-upload-button {
    margin-right: 15px;
    background-color: var(--button-bg);
    border: unset;
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
}
.post-captcha {
    margin-top: 20px;
}
.post-captcha .post-captcha-title {
    font-size: 13px;
}
.post-captcha-area {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}




/* Login */
.login-form {
    width: clamp(250px, 80vw, var(--login-form-width));
    padding: 40px;
}
.login-form-inside {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.login-form-inside .login-form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    /*padding-right: 20px;*/
}
.login-form-inside .login-form-row > label {
    width: 30%;
    min-width: 120px;
    text-align: right;
    font-size: 14px;
}
.login-form-inside .login-form-row .input {
    flex: 1;
}
.login-submit {
    /*justify-content: flex-end;*/
    /*align-items: center;*/
    /*flex-wrap: wrap;*/
    margin-left: auto
}
.login-submit button{
    font-size: 13px;
}
.login-message {
    box-sizing: border-box;
    background: #fbf2cb;
    color: var(--text-color);
    font-size: 16px;
    line-height: 22px;
    padding: 10px 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 2px 2px rgba(0, 0, 0, 0.03), 0 4px 4px rgba(0, 0, 0, 0.03), 0 8px 8px rgba(0, 0, 0, 0.03);
    margin-top: 20px;
    border-radius: 5px;
    max-width: var(--login-form-width);
    word-break: break-word;
}

.signup-area {
    padding: 0 25px;
    width: var(--login-form-width);
    display: flex
;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(20px, 2vh, 30px);
    color: #fff;
    font-size: 14px;
}
.signup-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signup-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-white-border {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    /*background-image: none;*/
    /*border: none;*/
    white-space: nowrap;
    line-height: 2;
    /*border-radius: 50em;*/
    user-select: none;
    /*padding: 5px 38px;*/
    /*font-size: 1rem;*/
    /*transition: background .4s linear, box-shadow .35s linear, color .4s linear;*/
    flex-shrink: 0;
    text-decoration: none;
    /*box-shadow: 0 0 0 0 var(--button-border);*/
    border: 1px solid rgba(255, 255, 255, 0.21);
    color: #fff;
    border-radius: 5px;
    padding-left: 15px;
    padding-right: 15px;
    /*font-weight: 400;*/
    font-size: 13px;
    transition: all .2s linear;
    background: transparent;
}

.btn-white-border:hover,
.btn-white-border:focus{
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.11)
}

.login-form-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 14px
}

.login-form-bottom label  {
    font-weight: 400
}
.login-worm-row-buttons {
    margin-top: 20px
}

.last-update {
    margin-top: auto;
    position: absolute;
    bottom: 15px;
}

.last-update a:hover {
    color: #fff
}