@import '_vars.css';

body.account {
    min-height: 100vh;
    background: radial-gradient(circle at bottom left, #1c2b5a, #0f122a 70%);    
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;

}

body.account .account-container {
    display: flex;
    height: 100vh;
}

body.account .account-left{
    flex: 1;
}
body.account .account-right {
    display: flex;
    flex: 1;
    justify-content: center;   
    align-items: center;     
}
body.account .account-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

body.account .account-left .logo img {
    max-width: 70%;
}
body.account .account-wrapper {
    width: 100%;
    max-width: 480px;
}
body.account .account-card {
    background: rgba(20, 22, 45, 0.96);
    border: none;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    max-width: 420px;
    margin: 0 auto;
    width: 400px;
    max-width: 100%;
}

body.account .account-card .panel-heading {
    background: transparent;
    border: none;
    padding: 30px 30px 10px;
}

body.account .account-card .panel-body {
    padding: 10px 30px 30px;
}

body.account .account-card .panel-body-header {
    color: white;
    padding: 0 0 1em 0;
}

body.account .account-title {
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 0 25px 0;
    padding-left: 15px;
    position: relative;
}

body.account .account-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    height: 22px;
    width: 3px;
    background: #2fd4ff;
}

body.account .account-field {
    position: relative;
    margin-bottom: 30px;
}

body.account .account-field .form-control {
    height: 48px;
    background: #e9eaec;
    border: 2px solid transparent;
    border-radius: 4px;
    padding-left: 45px;
    padding-right: 40px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

body.account .account-field .form-control:focus {
    border: 2px solid #2fd4ff;
    background: #fff;
    box-shadow: none;
}

body.account .account-field > i.fa {
    position: absolute;
    left: 15px;
    top: 14px;
    font-size: 18px;
    color: #7a7a7a;
}

body.account .account-field > .icon-error {
    position: absolute;
    right: 12px;
    top: 15px;
    color: #ff3b6b;
    display: none;
}
body.account .input-error {
    border: 2px solid #ff3b6b !important;
    background: #fff;
}

body.account .btn-account {
    width: 100%;
    height: 48px;
    margin-top: 15px;
    background: linear-gradient(90deg, #123d63, #0f2f4f);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
}

body.account .btn-account:hover {
    background: linear-gradient(90deg, #1a5a8a, #123d63);
}
body.account .btn-account a{
    margin:0; 
    color: white;
    padding-bottom: 0
}
body.account .btn-account:hover a{
    text-decoration: none;
}

.validation-summary-errors{
    flex: 1;
}
.validation-summary-errors>ul{
    padding: 0;
    margin-bottom: 0;
}
.validation-summary-errors>ul>li {
    list-style-type: none;
    text-align: -webkit-center;
    padding-left: 40px;
}
body.account .alert-danger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1b2a;
    color: #e91f79;
    border: 1px solid #e91f79;
    border-radius: 4px;
    padding: 0;
    margin-bottom: 20px;
}
.custom-info {
    padding: 11px;
    font-weight: 300;
    color: #74eeff;
    text-align: center;
    background: rgba(39, 228, 255, 0.04);
    border: 1px solid #5aeaff;
}
body.account button.close {
    width: 40px;
    height: 40px;
    background: #1a1b2a;
    color: #e91f79;
    border: none;
    cursor: pointer;
    opacity: 1;
    border-radius: 3px;
    float: right;
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 1px 0 #e91f79;

}

body.account button.close:hover {
    background: #e91f79;
    color: white;
    
}

/* Input error */
body.account input.input-validation-error {
    border: 2px solid #e91f79 !important;
    background: #fff;
}

/* Error label */
body.account .field-validation-error {
    position: absolute;
    left: 0;
    bottom: -23px;
    background: #e91f79;
    color: #fff;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Hide when empty */
body.account .field-validation-error:empty {
    display: none;
}

body.account .account-alert {
    background: #2a0f1a;
    border-left: 4px solid #e91f79;
    padding: 12px 15px;
    margin-bottom: 20px;
    color: #fff;
    border-radius: 4px;
}

body.account .account-actions label {
    color: #ffffff;
    font-weight: 400;
}

body.account .account-actions input[type="checkbox"] {
    margin-right: 6px;
}

body.account input[type="checkbox"] {
    accent-color:  #1a1b2a
}

body.account .account-actions  .checkbox {
    display: flex;
    align-items: center;
}

body.account .account-actions .checkbox input[type="checkbox"].material {
    margin: 0 8px 0 0;
}

body.account .account-actions .checkbox label {
    display: inline-block;     
}
body.account .account-actions .checkbox span {
    color: white;
    display: block;
    font-size: 14px;
    line-height: 19px;
    margin-left: 30px;
    width: 100px;
}
body.account .account-actions .checkbox span:hover {
    
    
}

input[type=checkbox].material:checked + input[type="hidden"] + label {
    background-color: white;
    border-color: #1e90ff;
    color: #1e90ff;
    height: 22px;
    width: 22px;
}

input[type=checkbox].material + label, input[type=checkbox].material + input[type="hidden"] + label {
    cursor: pointer;
    position: relative;
    width: 22px;
    height: 22px;
    bottom: -3px;
    padding: 0;
    -moz-border-radius: 100%;
    border: 2px solid var(--first-brand-color);
    display: inline-block;
    border-radius: 2px;
    background-color: #FFF;
    margin: 0 1em 0 0;
}

input[type=checkbox].material:checked + label::after,
input[type=checkbox].material:checked + input[type="hidden"] + label::after {

    content: "✔";
    transform: none;
    color: #1e90ff;
    top: 0px;
    font-weight: bolder;
    left: 2px;
}

body.account a{
    display: inline-block;
    width: 100%;
    margin: 1em 0 0;
    font-size: 14px;
    font-weight: 300;
    color: #27e4ff;
    text-align: center;
    text-decoration: none;
    padding-bottom: 20px;
}
body.account a:hover {
    text-decoration: underline;
}



body.account .password-field {
    position: relative;
}

body.account .left-icon {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #777;
}
body.account .toggle-password i {
    font-size: 17px;
    transition: 0.2s ease;
    padding-top: 5px;
}
body.account .password-field input {
    padding-left: 40px;
    padding-right: 45px;
}

body.account .toggle-password {
    position: absolute;
    right: 12px;
    top: 10px;

    background: none;
    border: none;
    outline: none;

    color: #777;
    cursor: pointer;
}

body.account .toggle-password:hover {
    color: #1a1b2a;
}



/*Dark overlay background */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 10em;
    z-index: 9999;
}

/* Modal card */
.reset-modal {
    width: 420px;
    padding: 30px;
    border-radius: 14px;
    background: rgba(20, 30, 50, 0.7);
    border: 1px solid #00d4ff;
}

/* Header */
.reset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reset-header h2 {
    font-size: 16px;
    letter-spacing: 1px;
    color: #00d4ff;
    margin: 0;
}

.close-btn {
    cursor: pointer;
    font-size: 18px;
    color: #00d4ff;
}

/* Rules */
.password-rules {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-rules li {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #00d4ff;
}

.rule-icon {
    width: 28px;
    height: 28px;
    background: #436167;
    color: #00d4ff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    font-size: 14px;
}

.recovery-container {
    position: relative;
    background-color: #0f3051;
    padding: 20px;
    border-radius: 10px;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.copy-tooltip {
    position: absolute;
    bottom: 120%;
    right: 0;
    background: #1e90ff;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: #1e90ff transparent transparent transparent;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}