#wls-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#wls-overlay.show {
    display: flex;
    opacity: 1;
}

#wls-modal {
    background: #fff;
    width: 850px;
    max-width: 95%;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    min-height: 500px;
}

#wls-overlay.show #wls-modal {
    transform: scale(1);
}

#wls-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    z-index: 10;
    line-height: 1;
}

.wls-left {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.wls-illustration {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.wls-right {
    flex: 1;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wls-header {
    margin-bottom: 30px;
}

.wls-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.wls-header p {
    color: #999;
    margin: 0;
    font-size: 15px;
}

.wls-form {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.wls-form.active {
    display: flex;
}

.wls-input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.wls-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.wls-icon svg {
    width: 100%;
    height: 100%;
    stroke: #999;
    fill: none;
}

.wls-input-group input {
    width: 100%;
    padding: 12px 15px 12px 50px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    font-size: 14px !important;
    line-height: normal !important;
    box-shadow: none !important;
    outline: none;
    box-sizing: border-box;
    height: 48px !important;
    color: #333 !important;
}

.wls-input-group input:focus {
    border-color: #64b5f6 !important;
    box-shadow: 0 0 0 1px #64b5f6 !important;
}

.wls-input-group input:focus + .wls-icon svg,
.wls-input-group input:focus ~ .wls-icon svg {
    stroke: #64b5f6;
}

.wls-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.wls-remember {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.wls-remember input[type="checkbox"] {
    accent-color: #64b5f6;
    width: 16px;
    height: 16px;
}

.wls-actions a {
    color: #666;
    text-decoration: none;
}

.wls-actions a:hover {
    color: #64b5f6;
}

.wls-btn {
    background: #64b5f6;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(100, 181, 246, 0.4);
}

.wls-btn:hover {
    background: #42a5f5;
}

.wls-footer-link {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: #888;
}

.wls-footer-link a {
    color: #666;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
}

.wls-footer-link a:hover {
    text-decoration: underline;
}

.wls-msg {
    font-size: 13px;
    margin: -10px 0 10px;
    color: red;
    text-align: left;
}

.wls-msg.success {
    color: green;
}

.wls-captcha-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    #wls-modal {
        flex-direction: column;
        width: 90%;
        min-height: auto;
    }
    .wls-left {
        display: none;
    }
    .wls-right {
        padding: 20px 10px;
    }
}
