[data-cellid="above-grid_c1"][data-page="_global_login"][data-cellid="above-grid_c1"][data-page="_global_login"][data-cellid="above-grid_c1"][data-page="_global_login"] {
  white-space: nowrap;
}
[data-cellid="footer_c1"][data-page="_global_login"][data-cellid="footer_c1"][data-page="_global_login"][data-cellid="footer_c1"][data-page="_global_login"] {
  width: 33.33333333%;
}
[data-cellid="footer_c2"][data-page="_global_login"][data-cellid="footer_c2"][data-page="_global_login"][data-cellid="footer_c2"][data-page="_global_login"] {
  width: 66.66666667%;
}
[data-page="_global_login"][data-itemid="login_button"] {
  padding-top: 5px;
}
[data-page="_global_login"][data-itemid="register_button"] > .btn {
  width: 100%;
}
[data-page="_global_login"][data-itemid="page_image_ash8f23hr"] {
  width: 400px;
}

/* Put  your custom CSS code here */

[data-page="_global_login"][data-itemid="lang_selector"] {
  color: lightblue;
}


.function-login {
    line-height: 1.0;
    min-height: 100vh;
    min-width: 320px;
    overflow-x: hidden;
    word-wrap: break-word;
    display: flex;
    align-items: flex-start;
    padding-top: 1vh;
}

.function-login .panel-heading {
    display: none;
}

.function-login .bs-pagepanel {
    background: none;
}

.function-login:before {
    background-attachment: scroll;
    content: '';
    display: block;
    height: 100vh;
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: scale(1);
    width: 100vw;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.function-login .r-panel-form {
    --alignment: center;
    --flex-alignment: flex-start;
    --indent-left: 1;
    --indent-right: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2.5rem;
    
    /* Modern glass-morphism background */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Modern border */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 16px 64px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.function-login .r-panel-form:before {
    display: none;
}

.function-login .r-panel-form:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.function-login input[type="text"],
.function-login input[type="password"] {
    height: 4.875rem;
    line-height: 4.875rem;
    padding: 0 1.18125rem;
    color: #737272;
    background: transparent;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    border-radius: 0.75rem;
    border: 1px solid rgb(121 118 118 / 44%);
    transition: all 0.3s ease;
    text-align: center;
}

.function-login input[type="text"]:focus,
.function-login input[type="text"]:active,
.function-login input[type="password"]:focus,
.function-login input[type="password"]:active {
    background: transparent;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.function-login input[type="text"]::placeholder,
.function-login input[type="password"]::placeholder {
    color: transparent;
}

.function-login .checkbox label {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 0px;
}

.function-login .checkbox label:before {
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.08);
    background-size: 1.434375rem;
    height: 2.53125rem;
    width: 2.53125rem;
    margin-right: 1.265625rem;
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    cursor: pointer;
    display: inline-block;
    flex-grow: 0;
    flex-shrink: 0;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.function-login label.checked:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='648' height='552' preserveAspectRatio='none' viewBox='0 0 648 552'%3E%3Cpath d='M225.3,517.7L2.1,293.1l68.1-67.7L226,382.3L578.1,35.6l67.4,68.4L225.3,517.7z' fill='%233b82f6' /%3E%3C/svg%3E");
    background-color: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.6);
}

.function-login label:hover:before {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
}

.function-login input[type="checkbox"] {
    display: none;
}

.function-login [data-itemtype="login_remind"] a,
.function-login [data-itemtype="loginform_register_link"] a {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
}

.function-login [data-itemtype="login_remind"] a:hover,
.function-login [data-itemtype="loginform_register_link"] a:hover,
.function-login [data-itemtype="login_remind"] a.active,
.function-login [data-itemtype="loginform_register_link"] a.active {
    color: #3b82f6 !important;
}

.function-login .r-panel-page {
    min-width: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0px;
}

.function-login form {
    width: 45rem;
    margin: 0 auto;
}

.function-login h2 {
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 3.25em;
    line-height: 1.25;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.function-login h3 {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.025rem;
    width: calc(100% + 0.025rem);
    font-size: 1.3em;
    line-height: 1.75;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.function-login tr:first-child .clearfix[edit-form-cell] {
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.function-login tr:nth-child(2) .clearfix[edit-form-cell] {
    text-align: center;
    padding: 15px;
}

.function-login .clearfix[edit-form-cell] .r-edit-field {
    margin-bottom: 10px;
    width: 100% !important;
    padding: 0px !important;
}

.function-login [data-itemtype="login_button"] {
    width: 100%;
    margin-bottom: 10px;
}

.function-login .btn.btn-primary {
    text-align: center;
    width: 100%;
    height: 4.875rem;
    line-height: 4.875rem;
    padding: 0 1.9375rem;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 0.75rem;
    flex-direction: row-reverse;
    justify-content: center;
    border: none;
    
    /* Professional blue gradient */
    background: linear-gradient(135deg, 
        #3b82f6 0%, 
        #2563eb 50%,
        #1d4ed8 100%);
    
    color: #FFFFFF;
    
    box-shadow: 
        0 4px 12px rgba(37, 99, 235, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.function-login .btn.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 6px rgba(37, 99, 235, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.function-login .btn.btn-primary .fa {
    order: 0;
    margin-left: auto;
}

.function-login .btn.btn-primary:hover {
    background: linear-gradient(135deg, 
        #2563eb 0%, 
        #1d4ed8 50%,
        #1e40af 100%);
    box-shadow: 
        0 6px 16px rgba(37, 99, 235, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.function-login .panel {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}

.function-login .panel-primary {
    border-color: none;
}

.function-login [data-itemid="login_google"] {
    margin-top: 20px;
}

body.user_forms.function-register .help-block {
    margin-top: 10px;
}

@media (min-width: 320px) and (max-width: 768px) {
    .function-login form {
        max-width: calc(100% - 2.5rem + 0.4725px);
        width: calc(100% - 2.5rem + 0.4725px);
    }
    
    .function-login .r-panel-form {
        padding: 1.5rem;
    }
}

.function-login [data-itemtype="login_message"] {
    background: none;
    border: none;
    box-shadow: none;
}

.function-login tr:nth-child(2) * {
    color: white;
}