.wlcy-login-wrap {
    max-width: 450px;
    padding: 30px;
    margin: 40px auto;
    border: 1px solid #ddd;
    background: #ffffff !important;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wlcy-login-wrap h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333 !important;
    font-size: 24px !important;
    text-align: center;
    border-bottom: 3px solid #0073aa !important;
    padding-bottom: 15px;
}

.wlcy-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.wlcy-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.wlcy-form-group label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.wlcy-input {
    padding: 12px 15px !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    transition: all 0.3s;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #ffffff !important;
    color: #333 !important;
}

.wlcy-input:focus {
    outline: none !important;
    border-color: #0073aa !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1) !important;
}

/* ★ 버튼 기본 스타일 - 테마 간섭 차단을 위해 !important 전면 적용 */
.wlcy-login-wrap .wlcy-btn {
    display: inline-block !important;
    padding: 14px 24px !important;
    background: #0073aa !important;
    background-color: #0073aa !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    transition: all 0.3s !important;
    margin-top: 10px !important;
    width: auto !important;
    min-width: 150px !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.wlcy-login-wrap .wlcy-btn:hover {
    background: #005a87 !important;
    background-color: #005a87 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3) !important;
    text-decoration: none !important;
}

.wlcy-login-wrap .wlcy-btn:disabled {
    background: #cccccc !important;
    background-color: #cccccc !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ★ 로그아웃 버튼 - 파란색으로 통일 (테마의 secondary 버튼 회색 override) */
.wlcy-login-wrap .wlcy-btn.wlcy-btn-secondary {
    background: #0073aa !important;
    background-color: #0073aa !important;
    color: #ffffff !important;
    margin-top: 15px !important;
    width: auto !important;
    min-width: 150px !important;
}

.wlcy-login-wrap .wlcy-btn.wlcy-btn-secondary:hover {
    background: #005a87 !important;
    background-color: #005a87 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3) !important;
}

.wlcy-login-result {
    min-height: 50px;
}

.loading {
    color: #0073aa;
    padding: 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.error {
    color: #dc3232;
    font-weight: 600;
    padding: 15px;
    background: #fee;
    border-left: 4px solid #dc3232;
    border-radius: 6px;
    margin-top: 10px;
}

.login-success {
    background: #f0f8ff !important;
    border: 2px solid #0073aa !important;
    border-radius: 8px;
    padding: 20px !important;
    margin-top: 10px;
    animation: slideIn 0.4s ease-out;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-header {
    color: #0073aa !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #e0e0e0 !important;
    width: 100%;
}

.user-info {
    background: #ffffff !important;
    border-radius: 6px;
    padding: 20px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    width: 100%;
}

/* ★ info-row 간격 및 구분선 - 테마 간섭 차단 */
.wlcy-login-wrap .info-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    gap: 0 !important;
}

.wlcy-login-wrap .info-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.wlcy-login-wrap .info-label {
    font-weight: 600 !important;
    color: #666 !important;
    min-width: 80px !important;
    font-size: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

.wlcy-login-wrap .info-value {
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* 반응형 디자인 */
@media (max-width: 500px) {
    .wlcy-login-wrap {
        margin: 20px 15px;
        padding: 20px;
    }

    .wlcy-login-wrap h3 {
        font-size: 20px !important;
    }

    .wlcy-input {
        padding: 10px 12px !important;
        font-size: 16px !important;
    }

    .wlcy-login-wrap .wlcy-btn {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
}
