/*
Theme Name: 221b
Theme URI: https://wordpresslab.ru/themes/221b
Author: WordPress laboratory
Author URI: https://wordpresslab.ru
Description: Clear and minimalist theme for Elementor Builder
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 221b
Tags: custom
*/

body {
	margin:0;
	padding:0;
    background: #1A1A1A;
    font-family:monospace
}
h1,h2,h3,h4,h5,h6 {
    margin-block-start:.5rem;margin-block-end:1rem;font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit
}

#lestrade-logo {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 600;
}

#lestrade-logo span {
    background: #87E64B;
    padding: 5px 10px;
    border-radius: 5px;
    color: #000;
    font-size: 16px;
    font-weight: 600;  
}

/* Balance Top-up System Styles */
.theme-221b-login-wrapper,
.theme-221b-balance-topup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90vw;
    padding: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.theme-221b-login-wrapper img,
.theme-221b-balance-topup img {
    margin-bottom: 20px;
}


.theme-221b-login-wrapper p,
.theme-221b-balance-topup p {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.theme-221b-envato-form {
    margin: 0;
    width: 100%;
}

.theme-221b-purchase-input {
    width: 100% !important;
    background: #222222;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
    outline: none;
    box-shadow: none;
    border: none;
    color: #fff;
    transition: none;
    will-change: auto;
}

.theme-221b-purchase-input:focus {
    outline: none;
}

.theme-221b-verify-button {
    background: #87E64B;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    display: inline-block;
    margin: 0 auto;
    text-transform: uppercase;
}

.theme-221b-verify-button:hover:not(:disabled) {
    background: #87E64B;
}

.theme-221b-verify-button:disabled {
    background: #498028;   
    cursor: not-allowed;
}

.theme-221b-verification-result {
    min-height: 0;
    transition: none;
    contain: layout;
    min-height: 79px;
    width: 100%;
}

.theme-221b-success {
    padding: 15px;
    border: 1px solid #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border-radius: 8px;
    text-align: center;
}

.theme-221b-error {
    padding: 15px;
    font-size: 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #ff6b6b;
    text-align: center;
    border: 1px solid #ff6b6b;
    font-family: 'Courier New', Courier, monospace;
    margin-top: 15px;
}


.theme-221b-item-info {
    margin-top: 15px;
    padding: 15px;
    width: 100%;
}

.theme-221b-item-info h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.theme-221b-info-section {
    margin-bottom: 15px;
}

.theme-221b-info-section:last-child {
    margin-bottom: 0;
}

.theme-221b-info-section h5 {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 16px;
    font-weight: 600;
}

.theme-221b-item-info p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.theme-221b-item-info p strong {
    color: #333;
    min-width: 120px;
    display: inline-block;
}

.theme-221b-info-section:last-child {
    margin-bottom: 0;
}

.theme-221b-item-info h5 {
    margin: 10px 0 5px 0;
    color: #666;
    font-size: 14px;
}

.theme-221b-item-info p {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4;
}


/* Registration and Balance Forms */
.theme-221b-login-form,
.theme-221b-registration-form,
.theme-221b-balance-form,
.theme-221b-forgot-form,
.theme-221b-reset-password-form {
    border-radius: 8px;
}
.theme-221b-reset-password-form input {
    margin-bottom: 15px;
}
.theme-221b-forgot-form {
    display: flex;
}
.theme-221b-forgot-form  input {
    width: 100%;
    border-radius: 8px 0 0 8px;
}
.theme-221b-forgot-form .theme-221b-login-button {
    border-radius: 0 8px 8px 0;
    font-size: 12px;
}
.theme-221b-balance-topup h3 {
    color: #fff;
}

.theme-221b-registration-form h4,
.theme-221b-balance-form h4 {
    margin: 0 0 15px 0;
    color: #87E64B;
    font-size: 16px;
    text-align: center;
}
.theme-221b-balance-form h4 {
    margin-top: 30px;
}

.theme-221b-register-form,
.theme-221b-add-balance-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Name fields in one row */
.theme-221b-name-row {
    display: flex;
    gap: 10px;
}

.theme-221b-login-form,
.theme-221b-balance-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.theme-221b-login-input,
.theme-221b-amount-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #2A2A2A;
    color: #FFF;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.theme-221b-login-input:focus,
.theme-221b-amount-input:focus {
    outline: none;
    border-color: #87E64B;
}

/* Hide number input spinners */
.theme-221b-amount-input::-webkit-outer-spin-button,
.theme-221b-amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.theme-221b-amount-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Amount input wrapper with dollar icon */
.theme-221b-amount-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.theme-221b-dollar-icon {
    background: #87E64B;
    color: #1a1a1a;
    padding: 11px 6px;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid #87E64B;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

.theme-221b-amount-wrapper .theme-221b-amount-input {
    border-radius: 0 8px 8px 0;
    border-left: none;
    flex: 1;
}

.theme-221b-amount-wrapper .theme-221b-amount-input:focus {
    border-color: #87E64B;
    border-left: none;
}

/* Prevent browser autofill styling */
.theme-221b-login-input:-webkit-autofill,
.theme-221b-login-input:-webkit-autofill:hover,
.theme-221b-login-input:-webkit-autofill:focus,
.theme-221b-amount-input:-webkit-autofill,
.theme-221b-amount-input:-webkit-autofill:hover,
.theme-221b-amount-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #2A2A2A inset !important;
    -webkit-text-fill-color: #FFF !important;
    border: 1px solid #333 !important;
    background-color: #2A2A2A !important;
    transition: background-color 5000s ease-in-out 0s;
}

.theme-221b-login-button,
.theme-221b-topup-button {
    padding: 12px 12px;
    background: #87E64B;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.theme-221b-login-button:hover,
.theme-221b-topup-button:hover {
    background: #76D93A;
}

/* Bottom center notifications */
.theme-221b-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2A2A2A;
    color: #FFF;
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid #87E64B;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 12px;
    font-weight: 300;
    z-index: 10000;
    max-width: 400px;
    text-align: center;
    opacity: 0;
}

.theme-221b-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.theme-221b-notification-success {
    background: rgba(135, 230, 75, 0.1);
    border: 1px solid #87E64B;
    color: #87E64B;
}

.theme-221b-notification-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #FF6B6B;
    color: #FF6B6B;
}

/* Mobile responsiveness for notifications */
@media (max-width: 480px) {
    .theme-221b-notification {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        transform: translateY(100px);
    }
    
    .theme-221b-notification.show {
        transform: translateY(0);
    }
}

.theme-221b-login-button:active,
.theme-221b-topup-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(135, 230, 75, 0.2);
}

.theme-221b-login-button:disabled,
.theme-221b-topup-button:disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.theme-221b-balance-form {
    flex-direction: row;
}

.theme-221b-balance-form p {
    margin: 0 0 15px 0;
    color: #ccc;
    text-align: center;
    font-size: 14px;
}

.theme-221b-current-balance {
    color: #87E64B;
    font-weight: 600;
    white-space: nowrap;
}

.theme-221b-item-info p strong {
    color: #fff;
    display: inline-block;
}

.theme-221b-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 15px;
    width: 100%;
}
.theme-221b-user-name {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 15px;
    width: 100%;
}
.theme-221b-logout-button {
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.theme-221b-logout-button:hover {
    border-bottom: 1px solid #87E64B;
    color: #87E64B;
}

/* Form switching styles */
.theme-221b-form-switch {
    margin-top: 20px;
    text-align: center;
}

.theme-221b-form-switch p {
    margin: 0;
    color: #666;
    font-size: 12px;
    margin-bottom: 15px;
}

.theme-221b-form-switch a {
    color: #87E64B;
    text-decoration: none;
    font-weight: 600;
}

.theme-221b-form-switch a:hover {
    color: #76D93A;
    text-decoration: underline;
}

/* Password requirements and error messages */
.theme-221b-password-requirements {
    margin: 10px 0;
    padding: 10px;
    background: rgba(135, 230, 75, 0.1);
    border: 1px solid rgba(135, 230, 75, 0.3);
    border-radius: 5px;
}

.theme-221b-password-requirements p {
    margin: 0;
    color: #87E64B;
    font-size: 12px;
    line-height: 1.4;
}

.theme-221b-error-message {
    text-align: center;
    padding: 20px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    margin: 20px 0;
}

.theme-221b-error-message h3 {
    color: #dc3545;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.theme-221b-error-message p {
    color: #FFF;
    margin: 0 0 15px 0;
    font-size: 14px;
    line-height: 1.5;
}

.theme-221b-error-message .theme-221b-login-button {
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
}