body {
    margin: 0;
    padding: 0;
    background-color: #0f1014;
    font-family: 'Rubik', sans-serif;
    color: #ffffff;
}
#login-wrapper {
    margin: 0 auto;
}

.logo {
    margin: 85px 0 35px;
}

#login-wrapper::before {
    content: '';
    background-color: #150F5A;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25vh;
}

#login-sub-container {
    background: #fff;
    border-radius: 16px;
    width: 430px;
    padding: 0 0 25px;
    box-shadow: 0px 40px 100px 0px #00000026;
}
#login-sub {
    padding: 0;
}
#clickthrough_form, #login_form {
    left: 40px;
}
.login-header {
    color: #150F5A;
    font-size: 24px;
    font-weight: 500;
}
#login-container, .small-size #security-container {
    width: 440px;
}
.logo .main-logo {
    position: relative;
}

#forms label, .input-req-login label {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #150F5A;
}

#forms label span, .input-req-login label span {
    font-weight: 300;
}


div.username-container, div.reset-pass-container, div.password-container {
    background-image: none;
    position:relative;
}
div.username-container::before, div.reset-pass-container::before {
    background-image: url(/cPanel_magic_revision_1761264080/unprotected/cpanel/images/user.png);
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fafafa;
    border-radius: 5px 0 0 5px;
}
div.password-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fafafa;
    background-image: url(/cPanel_magic_revision_1761264080/unprotected/cpanel/images/lock.png);
    border-radius: 5px 0 0 5px;
}

#reset_form .input-group input.std_textbox, .input-field-login.icon, .input-field-login.no-icon {
    border: 1px solid #E0E0E0;
}

.input-field-login.icon input.std_textbox, .input-field-login.no-icon input.std_textbox {
    margin: 0 0 0 30px;
    height: 32px;
    border: none;
    border-radius: 0 3px 3px 0;
    width: calc(100% - 50px);
}

.login-btn button, .login-btn input, .login-btn .loginbtn, .btn button, .external-auth-btn .external-auth-link, .clickthrough-cont-btn {
    background: #094EFF;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    padding: 10px 0;
    font-weight: 500;
}

body.cp .copyright, body.whm .copyright, body.wm .copyright {
    position: fixed;
    bottom: 32px;
    background-image: url(/unprotected/cpanel/images/cpanel-ex2.png);
    background-size: 102px;
    width: 100%;
    margin: 20px 0 0 0;
    font-size: 13px;
    padding: 40px 0 0 0;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
}
#locale-footer {
    display: block;
    margin: 0 auto;
    position: fixed;
    bottom: 145px;
    width: 100%;
    border-top: 1px solid #E3E3E3;
    padding-top: 32px;
}

#notify {
    position: relative;
    z-index: 100;
}

body.cp, body.whm, body.wm {
    background: #ffffff;
}

body.whm .locale-container a, body.whm #forms label, body.whm .input-req-login label, body.whm #morelocale {
    color: #293a4a;
}

body.whm .copyright, body.wm .copyright {
    color: #293a4a;
}

body.whm a:link, body.whm a:visited, body.whm a:active {
    color: #293a4a;
    text-decoration: none;
}

.locale-container ul li a:hover, #morelocale:hover, a:hover, .scroller a:hover {
    color: #094eff;
}

#locale-container {
    height: 390px;
}

#locale-inner-container {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 40px 100px 0px #00000026;
    height: 430px;
}
.locale-head {
    font-size: 22px;
    color: #150F5A;
    padding: 16px 0 16px 16px;
    font-weight: 500;
}
.close a {
    font-size: 0px;
    width: 32px;
    position: relative;
    height: 32px;
    display: flex;
    margin-right: 10px;
    margin-top: 10px;
    color: #150F5A;
}
#locale-header {
    height: 50px;
    border: none;
}
.scroller a {
    color: #150F5A;
    font-size: 14px;
    font-weight: 300;
}
.scroller {
    max-height: 350px;
    padding: 0 0 0 16px;
}

.close a::before {
    content: "x";
    font-size: 28px;
    position: absolute;
    top: 0;
    z-index: 10000;
    left: 0;
    font-weight: 200;
}

/* Reset password specific styles */
div.password-confirm-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fafafa;
    background-image: url(/cPanel_magic_revision_1761264080/unprotected/cpanel/images/lock.png);
    border-radius: 5px 0 0 5px;
}

.reset-input-group {
    margin-bottom: 20px;
}

.reset-input-note {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #495057;
    font-size: 14px;
}

.reset-input-note p {
    margin: 5px 0;
}

.pnlResend {
    margin: 15px 0;
    font-size: 14px;
}

.lnkResend {
    color: #094EFF;
    text-decoration: none;
    margin-right: 10px;
}

.lnkResend:hover {
    text-decoration: underline;
}

.btnMore {
    color: #6c757d;
    cursor: pointer;
    text-decoration: none;
}

.btnMore:hover {
    color: #094EFF;
}

.form-container {
    padding: 20px 0;
}

.form-container p {
    margin: 15px 0;
    color: #495057;
    line-height: 1.5;
}

.alert {
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert-message {
    margin-left: 15px;
}

.placeholder-container {
    position: relative;
}

.placeholder-help-block {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 5;
}

/* Ukryj placeholder, gdy hint jest widoczny, ale nie wpływaj na wartość pola */
.placeholder-container input::placeholder {
    opacity: 0;
}

.placeholder-active .placeholder-help-block {
    opacity: 0;
}

#resetpass #login-sub-header {
    height: 35px;
}

/* Styles for resetpass pages */
#resetpass #login-sub-header img[src*="cpanel-logo"] {
    display: none; /* Hide the original cPanel logo */
}

/* Dodaj logo ex2 nad formularzem */
#resetpass::before {
    content: '';
    background-image: url(/cPanel_magic_revision_1761264080/unprotected/cpanel/images/ex2-logo-white.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 50px;
    height: 70px;
    display: block;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

#reset-sub {
    margin-top: 30px; /* Add more space at the top of the form */
}

/* Dodatkowe obniżenie kontenera formularza */
#resetpass #login-status.error-notice {
    padding: 5px;
}
#resetpass {
    margin-top: 40px;
}

#resetpass #notify {
    width: 75%;
}

@media (max-height: 839px) {
    body.cp .copyright, body.whm .copyright, body.wm .copyright {
        bottom: auto;
        position: relative;
    }
    #locale-footer {
        position: relative;
        bottom: auto;
        margin-top: 50px;
    }
    #login-wrapper::before {
        height: 45vh;
    }
}
